|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Player
The Player class represents a player of the game Tic Tac Toe. Bugs: none known
Constructor Summary | |
Player(java.lang.String specifiedMark)
Constructs a Player object with an inputted name and specified mark. |
Method Summary | |
Mark |
getMark()
Gets a player's mark. |
Move |
getMove()
Gets a player's move from input. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Player(java.lang.String specifiedMark)
specifiedMark
- player's specified mark, assumed to be 1 char.Method Detail |
public Move getMove()
public Mark getMark()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |