net.sourceforge.jabm.event
Class StrategyExecutedEvent

java.lang.Object
  extended by net.sourceforge.jabm.event.SimEvent
      extended by net.sourceforge.jabm.event.StrategyExecutedEvent
All Implemented Interfaces:
java.io.Serializable

public class StrategyExecutedEvent
extends SimEvent

An event that is fired whenever a strategy implementing ExecutableStrategy is executed by an agent.

See Also:
Serialized Form
 

Field Summary
protected  Strategy strategy
          The strategy that was executed.
 
Constructor Summary
StrategyExecutedEvent(Strategy strategy)
           
 
Method Summary
 Strategy getStrategy()
           
 void setStrategy(Strategy strategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strategy

protected Strategy strategy
The strategy that was executed.

Constructor Detail

StrategyExecutedEvent

public StrategyExecutedEvent(Strategy strategy)
Method Detail

getStrategy

public Strategy getStrategy()

setStrategy

public void setStrategy(Strategy strategy)