|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectheurgame.ui.WelcomeScreen
| Constructor Summary | |
WelcomeScreen(GameServer gs)
Constructs the WelcomeScreen builder |
|
| Method Summary | |
java.awt.Frame |
getBuiltWelcome()
Returns the Welcome Screen if it was built. |
java.awt.Frame |
getWelcome(java.lang.Runnable onStart,
java.lang.Runnable onExit)
Produces the WelcomeScreen as an AWT Frame. |
void |
playerJoined(PlayerEvent e)
Notificies listeners when a player enters the game. |
void |
playerLeft(PlayerEvent e)
Notifies listeners when a player leaves the game. |
void |
playerMoves(PlayerEvent e)
Not used |
void |
playerStatusChanged(PlayerEvent e)
Not used |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WelcomeScreen(GameServer gs)
gs - handle to the GameServer to get information
and access the general facade of the GameServer| Method Detail |
public java.awt.Frame getBuiltWelcome()
public java.awt.Frame getWelcome(java.lang.Runnable onStart,
java.lang.Runnable onExit)
onStart - Called by the Start ButtononExit - Called by the exit button or by closing the window
public void playerJoined(PlayerEvent e)
PlayerListener
playerJoined in interface PlayerListenere - Player Specific informationPlayerListener.playerJoined(heurgame.event.PlayerEvent)public void playerLeft(PlayerEvent e)
PlayerListener
playerLeft in interface PlayerListenere - Player Specific informationPlayerListener.playerLeft(heurgame.event.PlayerEvent)public void playerMoves(PlayerEvent e)
playerMoves in interface PlayerListenere - Information about the Player and the status of the MovePlayerListener.playerMoves(heurgame.event.PlayerEvent)public void playerStatusChanged(PlayerEvent e)
playerStatusChanged in interface PlayerListenere - Implementation definedPlayerListener.playerStatusChanged(heurgame.event.PlayerEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||