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 Details

    • indexOf

      public static int indexOf(String[] actions, String action)
    • indexOf

      public static int indexOf(List<String> actions, String action)
    • 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()
    • process

      public void process()
      Specified by:
      process in interface Action
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getProcessor

      public ActionProcessor getProcessor()
      Specified by:
      getProcessor in interface Action
    • setProcessor

      public void setProcessor(ActionProcessor processor)
    • setStrict

      public void setStrict(boolean strict)