Package org.rspeer.game.adapter.scene
Class Entity<P extends RSEntity>
- java.lang.Object
-
- org.rspeer.game.adapter.Adapter<P>
-
- org.rspeer.game.adapter.scene.Entity<P>
-
- All Implemented Interfaces:
Actionable
,Interactable
,SceneNode
- Direct Known Subclasses:
EffectObject
,PathingEntity
,Pickable
,Projectile
,SceneObject
public abstract class Entity<P extends RSEntity> extends Adapter<P> implements Interactable, SceneNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Actionable
Actionable.Query<Q extends Actionable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
getHeight()
CachedModel
getModel()
Position
getModelPosition()
abstract Position
getPosition()
-
Methods inherited from class org.rspeer.game.adapter.Adapter
getProvider, validate
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rspeer.game.adapter.type.Actionable
containsAction, containsAction, getActions, getRawActions
-
Methods inherited from interface org.rspeer.game.adapter.type.Interactable
actionOf, actionOf, interact, interact, interact, interact, interact
-
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
-
-
-
Method Detail
-
getHeight
public int getHeight()
-
getModel
public CachedModel getModel()
-
getPosition
public abstract Position getPosition()
- Specified by:
getPosition
in interfaceSceneNode
-
getModelPosition
public Position getModelPosition()
-
-