Class DiscreetRectangularArea

java.lang.Object
org.rspeer.game.position.area.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:
  • Constructor Details

    • DiscreetRectangularArea

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

    • edges

      @Deprecated public Set<Position> edges()
      Deprecated.
    • adjust

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

      public Collection<Position> getBoundaryPositions(boolean outer)
      Deprecated.
      Specified by:
      getBoundaryPositions in interface Area
    • getBoundaryVertices

      public Collection<Position> getBoundaryVertices()
      Deprecated.
      Specified by:
      getBoundaryVertices 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
    • getTiles

      public Collection<Position> getTiles()
      Deprecated.
      Specified by:
      getTiles in interface Area
    • contains

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

      public Area ignoreFloorLevel()
      Deprecated.
      Specified by:
      ignoreFloorLevel in interface Area
    • translate

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

      public org.rspeer.commons.math.Range getXs()
      Deprecated.
    • getYs

      public org.rspeer.commons.math.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