Class SceneObject
java.lang.Object
org.rspeer.game.adapter.Adapter<jag.oldscape.RSSceneObject>
org.rspeer.game.adapter.scene.Entity<jag.oldscape.RSSceneObject>
org.rspeer.game.adapter.scene.SceneObject
- All Implemented Interfaces:
Actionable, Defined<ObjectDefinition>, Identifiable, Interactable, Nameable, SceneNode
public class SceneObject
extends Entity<jag.oldscape.RSSceneObject>
implements Nameable, Identifiable, Defined<ObjectDefinition>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Actionable
Actionable.Query<Q>Nested classes/interfaces inherited from interface Identifiable
Identifiable.Query<Q>Nested classes/interfaces inherited from interface Nameable
Nameable.Query<Q>Nested classes/interfaces inherited from interface SceneNode
SceneNode.Query<Q> -
Constructor Summary
ConstructorsConstructorDescriptionSceneObject(jag.oldscape.RSSceneObject provider, jag.oldscape.RSWorldMatrix matrix) SceneObject(jag.oldscape.RSSceneObject provider, jag.oldscape.RSWorldMatrix matrix, int floorLevel) -
Method Summary
Modifier and TypeMethodDescriptionintgetCoord()intintintintgetId()intgetName()intlongintgetParameter(int parameter) intgetParameter(ObjectParameter parameter) String[]getType()longbooleanisActionEnabled(int index) booleanisActionEnabled(String action) booleanMethods inherited from class Entity
getHeight, getModelPosition, getTypecodeMethods inherited from class Adapter
getProvider, validateMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Actionable
containsAction, containsAction, getSubMenuActionsMethods inherited from interface Interactable
actionOf, interact, interact, interactMethods inherited from interface SceneNode
distance, distance, distance, distance, getArea, getCoordArea, getCoordArea, getCoordView, getFloorLevel, getSceneContext, getWorldEntity, getWorldEntity, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Constructor Details
-
SceneObject
public SceneObject(jag.oldscape.RSSceneObject provider, jag.oldscape.RSWorldMatrix matrix, int floorLevel) -
SceneObject
public SceneObject(jag.oldscape.RSSceneObject provider, jag.oldscape.RSWorldMatrix matrix)
-
-
Method Details
-
getMatrixId
public int getMatrixId()- Specified by:
getMatrixIdin interfaceSceneNode
-
getPosition
- Specified by:
getPositionin interfaceSceneNode
-
getCoord
-
getCoordFine
- Specified by:
getCoordFinein interfaceSceneNode
-
getDefinition
- Specified by:
getDefinitionin interfaceDefined<ObjectDefinition>
-
getParameter
public int getParameter(int parameter) -
getParameter
-
getId
public int getId()- Specified by:
getIdin interfaceIdentifiable
-
getTypecode
public long getTypecode()- Overrides:
getTypecodein classEntity<jag.oldscape.RSSceneObject>
-
getPackedId
public long getPackedId() -
getName
-
getEntityPositionWidth
public int getEntityPositionWidth()- Specified by:
getEntityPositionWidthin interfaceSceneNode
-
getEntityPositionHeight
public int getEntityPositionHeight()- Specified by:
getEntityPositionHeightin interfaceSceneNode
-
getOrientation
public int getOrientation() -
getDirection
-
isActionEnabled
public boolean isActionEnabled(int index) -
isActionEnabled
-
actionOf
- Specified by:
actionOfin interfaceInteractable
-
getForceApproachFlags
-
getRawActions
- Specified by:
getRawActionsin interfaceActionable
-
getActions
- Specified by:
getActionsin interfaceActionable
-
isAnimating
public boolean isAnimating() -
getAnimationId
public int getAnimationId() -
getEntityIndex
public int getEntityIndex()- Specified by:
getEntityIndexin classEntity<jag.oldscape.RSSceneObject>
-
getType
-