com.antelmann.game
Class GameBoardPosition
java.lang.Object
com.antelmann.game.GameBoardPosition
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- BoardPosition, MuehlePosition
public class GameBoardPosition
- extends Object
- implements Serializable, Cloneable
GameBoardPosition implements a board position that can
be used for various board game implementations. It is
also used in the GameBoardMove.
- Author:
- Holger Antelmann
- See Also:
GameBoardMove,
Serialized Form
GameBoardPosition
public GameBoardPosition(int position)
asInteger
public int asInteger()
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads