|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tictactoe.Move
Bundles together information about a change of state in a BoardGame. Sent by AbstractBoardGame to its Observers.
AbstractBoardGame.set(int, int, tictactoe.Player)
,
GameApplet.update(java.util.Observable, java.lang.Object)
Field Summary | |
int |
col
|
Player |
player
|
int |
row
|
Constructor Summary | |
Move(int col,
int row,
Player player)
|
Method Summary | |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public final int col
public final int row
public final Player player
Constructor Detail |
public Move(int col, int row, Player player)
Method Detail |
public java.lang.String toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |