Package org.rspeer.game.position
Class AbsolutePosition
- java.lang.Object
-
- org.rspeer.game.position.Position
-
- org.rspeer.game.position.AbsolutePosition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
-
Constructor Summary
Constructors Constructor Description AbsolutePosition(int x, int y, int level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInScene()
Position
toPrecise()
Position
toScene()
Position
toWorld()
Position
translate(int x, int y)
-
Methods inherited from class org.rspeer.game.position.Position
equals, equals, from, from, fromAbsolute, fromInstance, fromRelative, fromScript, getChunk, getChunkOffset, getChunkX, getChunkY, getFloorLevel, getInstancePositions, getPosition, getRegionId, getRegionX, getRegionXInset, getRegionY, getRegionYInset, getX, getY, hashCode, isInstanced, rotate, rotate, toString, translate, unpack, within
-
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getEntityPositionHeight, getEntityPositionWidth, isInFieldOfViewOf, isInFieldOfViewOf
-
-
-
-
Field Detail
-
SCALE
public static final int SCALE
- See Also:
- Constant Field Values
-
-