|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPiece
KingPiece
public class KingPiece
This is a class representing a king piece (a piece that has been kinged)
Constructor Summary | |
---|---|
KingPiece(java.awt.Color c)
This constructor creates a king piece object |
Method Summary | |
---|---|
int |
getType()
This method returns the type of piece that this object is |
Methods inherited from class Piece |
---|
getColor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KingPiece(java.awt.Color c)
c
- - the color of this king piecepc
- - the possible captures of this king piecepm
- - the possible moves of this king pieceMethod Detail |
---|
public int getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |