Package org.rspeer.game.adapter.type
Interface SceneNode
-
- All Known Implementing Classes:
AbsolutePosition
,EffectObject
,Entity
,HintArrow
,Npc
,PathingEntity
,Pickable
,Player
,Position
,Projectile
,RelativePosition
,SceneObject
public interface SceneNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default double
distance()
default double
distance(DistanceEvaluator evaluator)
default double
distance(DistanceEvaluator evaluator, SceneNode other)
default double
distance(SceneNode other)
default Area
getArea()
default int
getEntityPositionHeight()
default int
getEntityPositionWidth()
default int
getFloorLevel()
Position
getPosition()
default int
getX()
default int
getY()
default boolean
isInFieldOfViewOf(SceneNode other)
default boolean
isInFieldOfViewOf(SceneNode other, CollisionFlagOverride override)
-
-
-
Method Detail
-
getX
default int getX()
-
getY
default int getY()
-
getPosition
Position getPosition()
-
distance
default double distance(SceneNode other)
-
distance
default double distance()
-
distance
default double distance(DistanceEvaluator evaluator, SceneNode other)
-
distance
default double distance(DistanceEvaluator evaluator)
-
getFloorLevel
default int getFloorLevel()
-
getEntityPositionHeight
default int getEntityPositionHeight()
-
getEntityPositionWidth
default int getEntityPositionWidth()
-
getArea
default Area getArea()
-
isInFieldOfViewOf
default boolean isInFieldOfViewOf(SceneNode other, CollisionFlagOverride override)
-
isInFieldOfViewOf
default boolean isInFieldOfViewOf(SceneNode other)
-
-