|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.moyoman.client.reference.PrisonerCounter
Provides a counter for white and black prisoners.
| Field Summary | |
private int |
_blackPrisonerCount
Black prisoner count. |
private int |
_whitePrisonerCount
White prisoner count. |
| Constructor Summary | |
PrisonerCounter()
|
|
| Method Summary | |
void |
clear()
Clear the counts. |
String |
toString()
Return the display string. |
void |
updatePrisonerCount(Stone[] prisoners)
Update the prisoner count. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private int _blackPrisonerCount
private int _whitePrisonerCount
| Constructor Detail |
public PrisonerCounter()
| Method Detail |
public void clear()
public String toString()
toString in class Objectpublic void updatePrisonerCount(Stone[] prisoners)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||