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
Modifier and TypeInterfaceDescriptionstatic interface
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault double
distance()
default double
distance
(DistanceEvaluator evaluator) default double
distance
(DistanceEvaluator evaluator, SceneNode other) default double
default Area
getArea()
default int
default int
default int
default int
getX()
default int
getY()
default boolean
isInFieldOfViewOf
(SceneNode other) default boolean
isInFieldOfViewOf
(SceneNode other, CollisionFlagOverride override)
-
Method Details
-
getX
default int getX() -
getY
default int getY() -
getPosition
Position getPosition() -
distance
-
distance
default double distance() -
distance
-
distance
-
getFloorLevel
default int getFloorLevel() -
getEntityPositionHeight
default int getEntityPositionHeight() -
getEntityPositionWidth
default int getEntityPositionWidth() -
getArea
-
isInFieldOfViewOf
-
isInFieldOfViewOf
-