|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Move
The Move class represents a player's move on the 3 by 3 grid as a row and column coordinate pair for the game Tic Tac Toe. Bugs: none known
| Constructor Summary | |
Move(int specifiedRow,
int specifiedCol)
Constructs a Move object at specified row and column. |
|
| Method Summary | |
int |
getCol()
Gets a move's column coordinate. |
int |
getRow()
Gets a move's row coordinate. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Move(int specifiedRow,
int specifiedCol)
specifiedRow - move's specified rowspecifiedCol - move's specified column| Method Detail |
public int getRow()
public int getCol()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||