org.vizzini.game.event
Class ConcedeEvent

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

public class ConcedeEvent
extends Object
implements IEvent

Provides an event for concede 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
ConcedeEvent(IAgent agent)
          Construct this object with the given parameter.
 
Method Summary
 IAgent getAgent()
          Return the agent who conceded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcedeEvent

public ConcedeEvent(IAgent agent)
Construct this object with the given parameter.

Since:
v0.1
Method Detail

getAgent

public IAgent getAgent()
Return the agent who conceded.

Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02