|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2.tictactoe.Move
public class Move
Bundles together information about a change of state in a BoardGame. Sent by AbstractBoardGame to its Observers.
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()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |