Class PolygonalArea

java.lang.Object
org.rspeer.game.position.area.PolygonalArea
All Implemented Interfaces:
Area

@Deprecated public class PolygonalArea extends Object implements Area
Deprecated.
See Also:
  • Constructor Details

    • PolygonalArea

      public PolygonalArea(Position... edges)
      Deprecated.
  • Method Details

    • 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
    • getX

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

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

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

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

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

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

      public Polygon getPolygon()
      Deprecated.