manager
Class ChessPiece
java.lang.Object
manager.Piece
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChessPiece
public ChessPiece(java.lang.String id,
int player)
ChessPiece
public ChessPiece(java.lang.String id,
int player,
java.lang.String type)
get_type
public java.lang.String get_type()
getString
public java.lang.String getString()
- Overrides:
getString
in class Piece