net.sourceforge.simplegamenet.chess
Class ChessBishop
java.lang.Object
net.sourceforge.simplegamenet.chess.ChessPiece
net.sourceforge.simplegamenet.chess.ChessBishop
- All Implemented Interfaces:
- ChessGridSize, Cloneable, Serializable
- public class ChessBishop
- extends ChessPiece
- See Also:
- Serialized Form
Constructor Summary |
ChessBishop(int participantOwnerIndex,
int x,
int y)
|
ChessBishop
public ChessBishop(int participantOwnerIndex,
int x,
int y)
isMoveAllowed
public boolean isMoveAllowed(ChessPiece[] pieceGrid,
int destinationX,
int destinationY)
- Specified by:
isMoveAllowed
in class ChessPiece
getPieceType
public int getPieceType()
- Specified by:
getPieceType
in class ChessPiece
getPieceValue
public int getPieceValue()
- Specified by:
getPieceValue
in class ChessPiece
Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.