Package org.rspeer.game.adapter.scene
Class SceneObject
- All Implemented Interfaces:
Actionable
,Defined<RSObjectDefinition,
,ObjectDefinition> Identifiable
,Interactable
,Nameable
,SceneNode
public class SceneObject
extends Entity<RSSceneObject>
implements Nameable, Identifiable, Defined<RSObjectDefinition,ObjectDefinition>
-
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.Identifiable
Identifiable.Query<Q extends Identifiable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Nameable
Nameable.Query<Q extends Nameable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
Constructor Summary
-
Method Summary
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
Methods inherited from interface org.rspeer.game.adapter.type.Interactable
actionOf, interact, interact, interact, interact, interact
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getFloorLevel, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Constructor Details
-
SceneObject
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfaceSceneNode
- Specified by:
getPosition
in classEntity<RSSceneObject>
-
getDefinition
- Specified by:
getDefinition
in interfaceDefined<RSObjectDefinition,
ObjectDefinition>
-
getId
public int getId()- Specified by:
getId
in interfaceIdentifiable
-
getName
-
getEntityPositionWidth
public int getEntityPositionWidth()- Specified by:
getEntityPositionWidth
in interfaceSceneNode
-
getEntityPositionHeight
public int getEntityPositionHeight()- Specified by:
getEntityPositionHeight
in interfaceSceneNode
-
actionOf
- Specified by:
actionOf
in interfaceInteractable
-
getRawActions
- Specified by:
getRawActions
in interfaceActionable
-
getActions
- Specified by:
getActions
in interfaceActionable
-
isAnimating
public boolean isAnimating() -
getAnimationId
public int getAnimationId()
-