de.tabacha.cgo
Class Move

java.lang.Object
  extended byde.tabacha.cgo.Move
All Implemented Interfaces:
java.lang.Cloneable, Constants, java.io.Serializable
Direct Known Subclasses:
Jump, Put

public abstract class Move
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, Constants

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 $

Version:
$Revision: 1.4 $
See Also:
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

Move

public Move()
Method Detail

upsideDown

public abstract Move upsideDown()
The move returned is exactly this move mirrored along the central row.


toString

public abstract java.lang.String toString()