|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.game.npc.plebeian.PlebeianExpression
public class PlebeianExpression
WRITEME: Document this type.
Nested Class Summary | |
---|---|
private class |
PlebeianExpression.HackSetToActionRunner
WRITEME: Document this type. |
Field Summary | |
---|---|
private PlebeianScript |
myOutcome
WRITEME: Document this brpocock@star-hope.org |
private String |
myState
WRITEME: Document this brpocock@star-hope.org |
private PlebeianTestClause |
myTest
WRITEME: Document this brpocock@star-hope.org |
private AbstractUser |
myUser
the user owning this script (for “Myself” and “Here” references) |
Constructor Summary | |
---|---|
PlebeianExpression(String testState,
PlebeianTestClause test,
PlebeianScript outcome,
AbstractUser user)
construct a new Plebeian script expression |
Method Summary | |
---|---|
Queue<Runnable> |
accept(Action a)
WRITEME: Document this method brpocock@star-hope.org |
String |
getState()
WRITEME: Document this method brpocock@star-hope.org |
ActionHandlerInterface |
handler(ScriptRunner scriptRunner)
WRITEME: Document this method brpocock@star-hope.org |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final PlebeianScript myOutcome
private final String myState
private final PlebeianTestClause myTest
private final AbstractUser myUser
Constructor Detail |
---|
public PlebeianExpression(String testState, PlebeianTestClause test, PlebeianScript outcome, AbstractUser user)
testState
- the state in which the script could be runtest
- the condition in which the script would be runoutcome
- the script to run if the condition is met in the
correct stateuser
- the victim of the scriptMethod Detail |
---|
public Queue<Runnable> accept(Action a)
a
- WRITEME
public String getState()
public ActionHandlerInterface handler(ScriptRunner scriptRunner)
scriptRunner
- WRITEME
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |