Package org.rspeer.game.action.processor
Class ActionProcessor
- java.lang.Object
-
- org.rspeer.game.action.processor.ActionProcessor
-
- Direct Known Subclasses:
DefaultActionProcessor
public abstract class ActionProcessor extends Object
-
-
Constructor Summary
Constructors Constructor Description ActionProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Action action)
static ActionProcessor
getActive()
static int
getAvailableCapacity()
static int
getExperimental()
static int
getQueueSize()
static void
incrementPendingActions()
static boolean
isFull()
static void
setActive(ActionProcessor active)
static void
setExperimental(int experimental)
static void
setPendingActions(int pendingActions)
-
-
-
Method Detail
-
getQueueSize
public static int getQueueSize()
-
getAvailableCapacity
public static int getAvailableCapacity()
-
isFull
public static boolean isFull()
-
setPendingActions
public static void setPendingActions(int pendingActions)
-
incrementPendingActions
public static void incrementPendingActions()
-
getActive
public static ActionProcessor getActive()
-
setActive
public static void setActive(ActionProcessor active)
-
getExperimental
public static int getExperimental()
-
setExperimental
public static void setExperimental(int experimental)
-
execute
public final void execute(Action action)
-
-