Package org.rspeer.game.action.tree
Class ObjectAction
- java.lang.Object
-
- org.rspeer.game.action.MenuAction
-
- org.rspeer.game.action.tree.EntityAction<SceneObject>
-
- org.rspeer.game.action.tree.ObjectAction
-
- All Implemented Interfaces:
Action
public class ObjectAction extends EntityAction<SceneObject>
-
-
Constructor Summary
Constructors Constructor Description ObjectAction(int opcode, int id, int sceneX, int sceneY)
ObjectAction(ActionOpcode opcode, int id, int sceneX, int sceneY)
ObjectAction(ActionOpcode opcode, int id, Position position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
Position
getPosition()
SceneObject
getSource()
String
toString()
-
Methods inherited from class org.rspeer.game.action.MenuAction
getMatrixId, getOpcode, getPrimary, getProcessor, getQuaternary, getSecondary, getTertiary, indexOf, indexOf, process, setProcessor, setStrict, valueOf
-
-
-
-
Constructor Detail
-
ObjectAction
public ObjectAction(int opcode, int id, int sceneX, int sceneY)
-
ObjectAction
public ObjectAction(ActionOpcode opcode, int id, int sceneX, int sceneY)
-
ObjectAction
public ObjectAction(ActionOpcode opcode, int id, Position position)
-
-
Method Detail
-
getId
public int getId()
-
getPosition
public Position getPosition()
-
toString
public String toString()
- Overrides:
toString
in classMenuAction
-
getSource
public SceneObject getSource()
- Specified by:
getSource
in classEntityAction<SceneObject>
-
-