org.vizzini.game.boardgame.chess.event
Class CheckEvent
java.lang.Object
org.vizzini.game.boardgame.chess.event.CheckEvent
public class CheckEvent
- extends Object
Provides an event for check. This class is immutable so that listeners can't
inadvertantly alter instances.
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckEvent
public CheckEvent()
- Construct this object.
- Since:
- v0.3
CheckEvent
public CheckEvent(IAgent agent)
- Construct this object with the given parameter.
- Parameters:
agent
- Agent who is in check.- Since:
- v0.3
getAgent
public IAgent getAgent()
- Return the agent.
- Since:
- v0.3
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |