Package org.rspeer.game.action.tree
Class ItemAction
- java.lang.Object
-
- org.rspeer.game.action.MenuAction
-
- org.rspeer.game.action.tree.ItemAction
-
- All Implemented Interfaces:
Action
public class ItemAction extends MenuAction
-
-
Constructor Summary
Constructors Constructor Description ItemAction(int opcode, int primary, int secondary, int tertiary, int quaternary)
ItemAction(ActionOpcode opcode, int primary, int secondary, int tertiary, int quaternary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterfaceComponent
getComponent()
int
getId()
int
getIndex()
Item
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
-
ItemAction
public ItemAction(ActionOpcode opcode, int primary, int secondary, int tertiary, int quaternary)
-
ItemAction
public ItemAction(int opcode, int primary, int secondary, int tertiary, int quaternary)
-
-
Method Detail
-
getId
public int getId()
-
getIndex
public int getIndex()
-
getSource
public Item getSource()
-
getComponent
public InterfaceComponent getComponent()
-
toString
public String toString()
- Overrides:
toString
in classMenuAction
-
-