Package org.rspeer.game.position.area
Class SingularArea
- java.lang.Object
-
- org.rspeer.game.position.area.SingularArea
-
-
Constructor Summary
Constructors Constructor Description SingularArea(int floorLevel, Position a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Area
adjust(int x, int y)
boolean
contains(SceneNode entity)
Collection<Position>
getBoundaryPositions(boolean outer)
Collection<Position>
getBoundaryVertices()
Position
getCenter()
int
getFloorLevel()
Collection<Position>
getTiles()
Area
ignoreFloorLevel()
Area
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
getRandomTile, isInFieldOfViewOf, isInFieldOfViewOf, translate
-
-
-
-
Constructor Detail
-
SingularArea
public SingularArea(int floorLevel, Position a)
-
-
Method Detail
-
getBoundaryVertices
public Collection<Position> getBoundaryVertices()
- Specified by:
getBoundaryVertices
in interfaceArea
-
getBoundaryPositions
public Collection<Position> getBoundaryPositions(boolean outer)
- Specified by:
getBoundaryPositions
in interfaceArea
-
getFloorLevel
public int getFloorLevel()
- Specified by:
getFloorLevel
in interfaceArea
-
getTiles
public Collection<Position> getTiles()
-
ignoreFloorLevel
public Area ignoreFloorLevel()
- Specified by:
ignoreFloorLevel
in interfaceArea
-
-