Package org.rspeer.game.position
Class Chunk
- java.lang.Object
-
- org.rspeer.game.position.Chunk
-
public class Chunk extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
SIZE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Position position)
boolean
equals(Object o)
Area
getArea()
Position
getBasePosition()
int
getFloorLevel()
int
getId()
Position
getInstanceBase()
Position
getInstancePosition(Position trans)
int
getOffsetX()
int
getOffsetY()
List<Position>
getPositions()
Region
getRegion()
int
getRotation()
int
getX()
int
getY()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRegion
public Region getRegion()
-
getBasePosition
public Position getBasePosition()
-
getArea
public Area getArea()
-
contains
public boolean contains(Position position)
-
getInstanceBase
public Position getInstanceBase()
-
getId
public int getId()
-
getX
public int getX()
-
getY
public int getY()
-
getOffsetX
public int getOffsetX()
-
getOffsetY
public int getOffsetY()
-
getFloorLevel
public int getFloorLevel()
-
getRotation
public int getRotation()
-
-