|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.moyoman.client.reference.util.PlayerData
Provides storage for data required to create a player.
Field Summary | |
private Color |
_color
Player color. |
private Mode |
_mode
Mode. |
private Class |
_playerClass
Player class. |
Constructor Summary | |
PlayerData(Class playerClass,
Color color,
Mode mode)
Construct this object with the given parameters for a new game type. |
Method Summary | |
Color |
getColor()
Return the player color. |
Mode |
getMode()
Return the mode. |
Class |
getPlayerClass()
Return the player class. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Class _playerClass
private Color _color
private Mode _mode
Constructor Detail |
public PlayerData(Class playerClass, Color color, Mode mode)
Method Detail |
public Color getColor()
public Mode getMode()
public Class getPlayerClass()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |