|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bolinfest.prisonerbot.Choice
public final class Choice
Choice
is a typesafe enumeration of the choices available to each Player.
Field Summary | |
---|---|
static Choice |
COOPERATE
the player chooses to cooperate |
static Choice |
DEFECT
the player chooses to defect |
Method Summary | |
---|---|
String |
getShortName()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Choice COOPERATE
public static final Choice DEFECT
Method Detail |
---|
public String getShortName()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |