Class Piece

java.lang.Object
  extended by Piece
Direct Known Subclasses:
KingPiece, SinglePiece

public abstract class Piece
extends java.lang.Object


Constructor Summary
Piece(java.awt.Color c)
          The constructor for this piece
 
Method Summary
 java.awt.Color getColor()
          This method returns the color of this piece
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Piece

public Piece(java.awt.Color c)
The constructor for this piece

Parameters:
c - - the color for this piece
Method Detail

getColor

public java.awt.Color getColor()
This method returns the color of this piece

Returns:
the color for this piece