Package org.rspeer.game.position
Class RelativePosition
- java.lang.Object
-
- org.rspeer.game.position.Position
-
- org.rspeer.game.position.RelativePosition
-
-
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 RelativePosition(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
toWorld(int regionId)
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
-
-
-
-
Method Detail
-
toWorld
public Position toWorld(int regionId)
-
-