org.vizzini.game.event
Class ScoreEvent

java.lang.Object
  extended by org.vizzini.game.event.ScoreEvent
All Implemented Interfaces:
IEvent

public class ScoreEvent
extends Object
implements IEvent

Provides an event for score changes. This class is immutable so that listeners can't inadvertantly alter instances.

Since:
v0.1
Version:
v0.2
Author:
Jeffrey M. Thompson

Constructor Summary
ScoreEvent(IAgent source)
          Construct this object with the given parameter.
 
Method Summary
 IAgent getSource()
          Return the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreEvent

public ScoreEvent(IAgent source)
Construct this object with the given parameter.

Since:
v0.1
Method Detail

getSource

public IAgent getSource()
Return the source.

Since:
v0.1


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02