org.starhope.appius.game.npc.plebeian
Class PlebeianScriptRunner.Random_Runner

java.lang.Object
  extended by org.starhope.appius.game.npc.plebeian.PlebeianScriptRunner.Random_Runner
All Implemented Interfaces:
Runnable
Enclosing class:
PlebeianScriptRunner

public final class PlebeianScriptRunner.Random_Runner
extends Object
implements Runnable

Run something randomly from a set of possible outcomes

Author:
brpocock@star-hope.org

Field Summary
private  LinkedList<PlebeianScript> choices
          WRITEME: Document this brpocock@star-hope.org
 
Constructor Summary
PlebeianScriptRunner.Random_Runner(List<PlebeianScript> options)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

choices

private final LinkedList<PlebeianScript> choices
WRITEME: Document this brpocock@star-hope.org

Constructor Detail

PlebeianScriptRunner.Random_Runner

public PlebeianScriptRunner.Random_Runner(List<PlebeianScript> options)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
options - a set of scripts, from which one outcome will be chosen randomly at runtime
Method Detail

run

public void run()
Specified by:
run in interface Runnable
See Also:
Runnable.run()