|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmanager.Piece
manager.TictactoePiece
public class TictactoePiece
This class implements tic tac toe pieces (X or O).
It extends a generic Piece
.
Tic tac toe pieces are used in the TictactoeGame
TictactoeGame
,
Piece
Constructor Summary | |
---|---|
TictactoePiece(java.lang.String id,
int player)
|
Method Summary | |
---|---|
java.lang.String |
getString()
|
Methods inherited from class manager.Piece |
---|
getId, getPlayer, setId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TictactoePiece(java.lang.String id, int player)
Method Detail |
---|
public java.lang.String getString()
getString
in class Piece
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |