Package gg.xp.postnamazu
Class PnGameCommand
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.postnamazu.PnGameCommand
- All Implemented Interfaces:
Event
,HasPrimaryValue
,Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionPnGameCommand
(String command) PnGameCommand
(String command, boolean isAmCommand) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class gg.xp.reevent.events.BaseEvent
delayedEnqueueAt, effectiveTimeNow, getCreatedAt, getEffectiveHappenedAt, getEffectiveTimeSince, getEnqueuedAt, getHappenedAt, getParent, getPumpedAt, getPumpFinishedAt, getSourceEventHandler, isImported, setDelayedEnqueueAt, setDelayedEnqueueOffset, setDelayedEnqueueOffset, setEnqueuedAt, setHappenedAt, setImported, setParent, setPumpedAt, setPumpFinishedAt, setSourceEventHandler, setTimeSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.Event
combineWith, delayedEnqueueAtFront, dumpFields, getThisOrParentOfType, shouldSave
-
Constructor Details
-
PnGameCommand
- Parameters:
command
- The command to run.
-
PnGameCommand
- Parameters:
command
- The command to runisAmCommand
- true to use the AM queue instead of the command queue; should be true for AM-related commands such as clears.
-
-
Method Details
-
getCommand
-
getPrimaryValue
- Specified by:
getPrimaryValue
in interfaceHasPrimaryValue
- Returns:
- A text description of this object. Should be user-friendly and not over-the-top technical (fine-grained
details belong in other fields, or in the
Object.toString()
method).
-
getUsesAmQueue
public boolean getUsesAmQueue()
-