manager
Class ChessPiece

java.lang.Object
  extended by manager.Piece
      extended by manager.ChessPiece

public class ChessPiece
extends Piece

This class implements any chess piece. It extends a generic Piece to support the chess' pieces (king, queen, rook, bishop, knight, pawn).

Chess pieces are used in the ChessGame

Version:
0.5 beta - 03/15/2006
Author:
Luciano Antonio Digiampietri
See Also:
DeflexionGame, Piece

Constructor Summary
ChessPiece(java.lang.String id, int player)
           
ChessPiece(java.lang.String id, int player, java.lang.String type)
           
 
Method Summary
 java.lang.String get_type()
           
 java.lang.String getString()
           
 
Methods inherited from class manager.Piece
getId, getPlayer, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChessPiece

public ChessPiece(java.lang.String id,
                  int player)

ChessPiece

public ChessPiece(java.lang.String id,
                  int player,
                  java.lang.String type)
Method Detail

get_type

public java.lang.String get_type()

getString

public java.lang.String getString()
Overrides:
getString in class Piece