Internet Chess ToolKit
v0.2.0

ictk.boardgame
Class Piece

java.lang.Object
  extended byictk.boardgame.Piece
Direct Known Subclasses:
ChessPiece

public abstract class Piece
extends java.lang.Object

A place holder class for things like Chess pieces, Go Stones, Scrabble tiles etc. This isn't well defined yet because I'm not sure what the pieces would have in common -- besides being pieces.


Constructor Summary
Piece()
           
 
Method Summary
abstract  Board getBoard()
          return the Board that this Piece is associated with (though not necessarily on at the time of the call).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Piece

public Piece()
Method Detail

getBoard

public abstract Board getBoard()
return the Board that this Piece is associated with (though not necessarily on at the time of the call).


Submit a bug or feature
Visit the Website
Internet Chess ToolKit is licensed under the GPL v2 .