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

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

private final class PlebeianScriptRunner.TestActorHasCurrency
extends Object
implements PlebeianScriptConditional

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Field Summary
private  Currency cu
          WRITEME: Document this brpocock@star-hope.org
private  BigDecimal qty
          WRITEME: Document this brpocock@star-hope.org
private  PlebeianActor rôle
          WRITEME: Document this brpocock@star-hope.org
 
Constructor Summary
PlebeianScriptRunner.TestActorHasCurrency(PlebeianActor actor, Currency currency, BigDecimal amount)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
 boolean evaluate()
          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

cu

private final Currency cu
WRITEME: Document this brpocock@star-hope.org


qty

private final BigDecimal qty
WRITEME: Document this brpocock@star-hope.org


rôle

private final PlebeianActor rôle
WRITEME: Document this brpocock@star-hope.org

Constructor Detail

PlebeianScriptRunner.TestActorHasCurrency

PlebeianScriptRunner.TestActorHasCurrency(PlebeianActor actor,
                                          Currency currency,
                                          BigDecimal amount)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
actor - someone who might have money
currency - what kind of money he might have
amount - how much money he might have
Method Detail

evaluate

public boolean evaluate()
Description copied from interface: PlebeianScriptConditional
WRITEME: Document this method brpocock@star-hope.org

Specified by:
evaluate in interface PlebeianScriptConditional
Returns:
the result of evaluating some condition or other

toString

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