net.sourceforge.yagurashogi.client.core.pieces
Class Bishop

java.lang.Object
  extended by net.sourceforge.yagurashogi.client.gui.Piece
      extended by net.sourceforge.yagurashogi.client.core.pieces.Bishop

public class Bishop
extends Piece


Field Summary
 
Fields inherited from class net.sourceforge.yagurashogi.client.gui.Piece
canPromote, code, directions, isPromoted, jumpOver, moves, PIECE, pieceLayoutID, side, STANDART_LAYOUT, SYMB_BISHOP, SYMB_DRAGON, SYMB_GOLD, SYMB_HORSE, SYMB_KING, SYMB_KNIGHT, SYMB_LANCE, SYMB_PAWN, SYMB_PROMOTED_KNIGHT, SYMB_PROMOTED_LANCE, SYMB_PROMOTED_SILVER, SYMB_ROOK, SYMB_SILVER, SYMB_TOKIN, SYMBOLIC_LAYOUT, TRAD_BISHOP, TRAD_DRAGON, TRAD_GOLD, TRAD_HORSE, TRAD_KING_DOWN, TRAD_KING_UP, TRAD_KNIGHT, TRAD_LANCE, TRAD_PAWN, TRAD_PROMOTED_KNIGHT, TRAD_PROMOTED_LANCE, TRAD_PROMOTED_SILVER, TRAD_ROOK, TRAD_SILVER, TRAD_TOKIN, TRADITIONAL_LAYOUT
 
Constructor Summary
Bishop(int side)
           
 
Method Summary
 Piece getDemotedPiece()
           
 Piece getPromotedPiece()
           
 
Methods inherited from class net.sourceforge.yagurashogi.client.gui.Piece
canJumpOver, canPromote, directions, getBgImage, getCaption, getCode, getFgImage, getPieceLayout, getSide, isPromoted, loadImages, moves, setPieceLayout, setPromotion, setSide
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bishop

public Bishop(int side)
Method Detail

getPromotedPiece

public Piece getPromotedPiece()
Specified by:
getPromotedPiece in class Piece

getDemotedPiece

public Piece getDemotedPiece()
Specified by:
getDemotedPiece in class Piece