Holger's
Java API

com.antelmann.game
Class GameBoardPosition

java.lang.Object
  extended by 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

Constructor Summary
GameBoardPosition(int position)
           
 
Method Summary
 int asInteger()
           
 boolean equals(Object obj)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GameBoardPosition

public GameBoardPosition(int position)
Method Detail

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