|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.moyoman.comm.client.EndOfGameEvent
This class is used to store data that is sent to EndOfGameListener objects.
Field Summary | |
private GameRecord |
gameRecord
The record of the game. |
private Player |
player
The player for whom the end of game event occurred. |
Constructor Summary | |
EndOfGameEvent(Player p,
GameRecord gr)
Create an EndOfGameEvent object. |
Method Summary | |
GameRecord |
getGameRecord()
Get the game record. |
Player |
getPlayer()
Get the player. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Player player
private GameRecord gameRecord
Constructor Detail |
public EndOfGameEvent(Player p, GameRecord gr)
p
- The playergr
- The game record.Method Detail |
public Player getPlayer()
public GameRecord getGameRecord()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |