|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.tabacha.cgo.Move
One move a player makes in the game.
Is abstract because there are two totally different kinds of moves.
$Id: Move.java,v 1.4 2004/07/17 22:18:35 mk Exp $
Put,
Jump,
Serialized Form| Field Summary |
| Fields inherited from interface de.tabacha.cgo.Constants |
BALL, COL_COUNT, DCOL, DOWN, DROW, E, EMPTY, FIRST_DIRECTION, KICK_OFF_FIELD, LAST_DIRECTION, N, NE, NW, OPPOSITE, PIECE, ROW_COUNT, S, SE, SW, UP, UPSIDEDOWN, W |
| Constructor Summary | |
Move()
|
|
| Method Summary | |
abstract java.lang.String |
toString()
|
abstract Move |
upsideDown()
The move returned is exactly this move mirrored along the central row. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Move()
| Method Detail |
public abstract Move upsideDown()
public abstract java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||