Package org.rspeer.game.action
Class MenuAction
- java.lang.Object
-
- org.rspeer.game.action.MenuAction
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
ComponentAction
,DeselectAction
,EntityAction
,ItemAction
public abstract class MenuAction extends Object implements Action
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMatrixId()
ActionOpcode
getOpcode()
int
getPrimary()
ActionProcessor
getProcessor()
int
getQuaternary()
int
getSecondary()
int
getTertiary()
static int
indexOf(String[] actions, String action)
static int
indexOf(List<String> actions, String action)
void
process()
void
setProcessor(ActionProcessor processor)
void
setStrict(boolean strict)
String
toString()
static MenuAction
valueOf(int op, int primary, int secondary, int tertiary, int quaternary, int matrixId)
-
-
-
Method Detail
-
valueOf
public static MenuAction valueOf(int op, int primary, int secondary, int tertiary, int quaternary, int matrixId)
-
getOpcode
public ActionOpcode getOpcode()
-
getPrimary
public int getPrimary()
-
getSecondary
public int getSecondary()
-
getTertiary
public int getTertiary()
-
getQuaternary
public int getQuaternary()
-
getMatrixId
public int getMatrixId()
-
getProcessor
public ActionProcessor getProcessor()
- Specified by:
getProcessor
in interfaceAction
-
setProcessor
public void setProcessor(ActionProcessor processor)
-
setStrict
public void setStrict(boolean strict)
-
-