Class DiscreetRectangularArea

  • All Implemented Interfaces:
    Area

    @Deprecated
    public class DiscreetRectangularArea
    extends Object
    implements Area
    Deprecated.
    A RectangularArea alternative which acts as a lightweight solution for "large" rectangular areas
    See Also:
    CoordArea
    • Constructor Detail

      • DiscreetRectangularArea

        public DiscreetRectangularArea​(int floorLevel,
                                       Position a,
                                       Position b)
        Deprecated.
    • Method Detail

      • adjust

        public Area adjust​(int x,
                           int y)
        Deprecated.
        Specified by:
        adjust in interface Area
      • getX

        public int getX()
        Deprecated.
        Specified by:
        getX in interface Area
      • getY

        public int getY()
        Deprecated.
        Specified by:
        getY in interface Area
      • getFloorLevel

        public int getFloorLevel()
        Deprecated.
        Specified by:
        getFloorLevel in interface Area
      • contains

        public boolean contains​(SceneNode entity)
        Deprecated.
        Specified by:
        contains in interface Area
      • translate

        public Area translate​(int x,
                              int y)
        Deprecated.
        Specified by:
        translate in interface Area
      • getXs

        public Range getXs()
        Deprecated.
      • getYs

        public Range getYs()
        Deprecated.
      • getBottomLeft

        public Position getBottomLeft()
        Deprecated.
      • getBottomRight

        public Position getBottomRight()
        Deprecated.
      • getTopLeft

        public Position getTopLeft()
        Deprecated.
      • getTopRight

        public Position getTopRight()
        Deprecated.
      • getWidth

        public int getWidth()
        Deprecated.
        Specified by:
        getWidth in interface Area
      • getHeight

        public int getHeight()
        Deprecated.
        Specified by:
        getHeight in interface Area