|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcore.Piece
rules.StraightPiece
rules.Bishop
public class Bishop
Bishop piece.
| Field Summary |
|---|
| Fields inherited from class rules.StraightPiece |
|---|
goodSum |
| Fields inherited from class core.Piece |
|---|
color |
| Constructor Summary | |
|---|---|
Bishop(Color color,
int lastMove)
|
|
| Method Summary | |
|---|---|
protected StraightPiece |
constructor(Color color,
int lastMove)
|
protected String |
getName()
|
int |
hashCode()
This should be unique for different pieces or different colors. |
String |
pieceString()
|
| Methods inherited from class rules.StraightPiece |
|---|
getGoodSum, moveCandidates, threatens |
| Methods inherited from class core.Piece |
|---|
getColor, getLastMove, postMove, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Bishop(Color color,
int lastMove)
Piece| Method Detail |
|---|
protected String getName()
getName in class PiecePiece
protected StraightPiece constructor(Color color,
int lastMove)
constructor in class StraightPiecePiecepublic String pieceString()
pieceString in class PiecePiecepublic int hashCode()
Piece
hashCode in class Piece
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||