|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPiece
SinglePiece
public class SinglePiece
This is a class representing a single piece (a piece that has not been kinged yet)
| Constructor Summary | |
|---|---|
SinglePiece(java.awt.Color c)
This constructor creates a single piece checker object |
|
| Method Summary | |
|---|---|
int |
getType()
This method returns that the type of the checker is single |
| 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 SinglePiece(java.awt.Color c)
c - - the color of this single piecepc - - the possible captures of this single piecepm - - the possible moves of this single piece| Method Detail |
|---|
public int getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||