|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectheurgame.ui.PlayerColors
Constructor Summary | |
PlayerColors()
|
Method Summary | |
java.awt.Color |
getColor(PlayerToken t)
Retrieves the color associated with a Token |
void |
playerJoined(PlayerEvent e)
Adds a new color to represent the player |
void |
playerLeft(PlayerEvent e)
Removes the color from the field |
void |
playerMoves(PlayerEvent e)
Ignored |
void |
playerStatusChanged(PlayerEvent e)
Ignored |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlayerColors()
Method Detail |
public java.awt.Color getColor(PlayerToken t)
t
- The Token to be represented
public void playerJoined(PlayerEvent e)
playerJoined
in interface PlayerListener
e
- Player Specific informationPlayerListener.playerJoined(heurgame.event.PlayerEvent)
public void playerLeft(PlayerEvent e)
playerLeft
in interface PlayerListener
e
- Player Specific informationPlayerListener.playerLeft(heurgame.event.PlayerEvent)
public void playerMoves(PlayerEvent e)
playerMoves
in interface PlayerListener
e
- Information about the Player and the status of the MovePlayerListener.playerMoves(heurgame.event.PlayerEvent)
public void playerStatusChanged(PlayerEvent e)
playerStatusChanged
in interface PlayerListener
e
- Implementation definedPlayerListener.playerStatusChanged(heurgame.event.PlayerEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |