Package org.rspeer.game.position.area
Class PolygonalArea
java.lang.Object
org.rspeer.game.position.area.PolygonalArea
- All Implemented Interfaces:
Area
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadjust
(int x, int y) boolean
getBoundaryPositions
(boolean outer) int
getTiles()
translate
(int x, int y) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rspeer.game.position.area.Area
getCenter, getRandomTile, isInFieldOfViewOf, isInFieldOfViewOf, translate
-
Constructor Details
-
PolygonalArea
-
-
Method Details
-
adjust
-
getBoundaryPositions
- Specified by:
getBoundaryPositions
in interfaceArea
-
getBoundaryVertices
- Specified by:
getBoundaryVertices
in interfaceArea
-
getFloorLevel
public int getFloorLevel()- Specified by:
getFloorLevel
in interfaceArea
-
getTiles
-
ignoreFloorLevel
- Specified by:
ignoreFloorLevel
in interfaceArea
-
translate
-
contains
-
getPolygon
-