org.starhope.appius.game.npc.plebeian
Class PlebeianScript

java.lang.Object
  extended by org.starhope.appius.game.npc.plebeian.PlebeianScript

public class PlebeianScript
extends Object

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Field Summary
private  Queue<Runnable> mySteps
          WRITEME: Document this brpocock@star-hope.org
 
Constructor Summary
PlebeianScript(Queue<Runnable> steps)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
(package private)  Queue<Runnable> getSteps()
          WRITEME: Document this method brpocock@star-hope.org
protected  void nowRun(ScriptPuppet pleb)
          Given a script, prepend the contents of the script to the toDo list, so that those steps will be executed before anything else.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mySteps

private final Queue<Runnable> mySteps
WRITEME: Document this brpocock@star-hope.org

Constructor Detail

PlebeianScript

public PlebeianScript(Queue<Runnable> steps)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
steps - WRITEME
Method Detail

getSteps

Queue<Runnable> getSteps()
WRITEME: Document this method brpocock@star-hope.org

Returns:
WRITEME

nowRun

protected void nowRun(ScriptPuppet pleb)
Given a script, prepend the contents of the script to the toDo list, so that those steps will be executed before anything else. Used by e.g. “If” clauses. The steps will be prepended in reverse order so as to retain their original sequence.

Parameters:
pleb - TODO

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()