public class KeyboardDecisionMaker extends SoccerDecisionMaker
Modifier and Type | Class and Description |
---|---|
static class |
KeyboardDecisionMaker.ActionEnum |
Constructor and Description |
---|
KeyboardDecisionMaker(java.util.Map<java.lang.String,IBelief> believes,
java.util.Map<java.lang.String,IBehavior> behaviors,
IThoughtModel thoughtModel,
int serverVersion)
Constructor
|
Modifier and Type | Method and Description |
---|---|
KeyboardDecisionMaker.ActionEnum |
getCurrentAction() |
void |
setCurrentAction(KeyboardDecisionMaker.ActionEnum currentAction) |
decideSoccer, getServerVersion
decide, getBehavior, getBehaviors, getBelieve, getBelieves, getCurrentBehavior, getDesiredBehavior, getNumberOfDecisions, getThoughtModel
public KeyboardDecisionMaker(java.util.Map<java.lang.String,IBelief> believes, java.util.Map<java.lang.String,IBehavior> behaviors, IThoughtModel thoughtModel, int serverVersion)
believes
- List of believesbehaviors
- List of applicable behaviorsserverVersion
- Server version numberpublic void setCurrentAction(KeyboardDecisionMaker.ActionEnum currentAction)
currentAction
- the currentAction to setpublic KeyboardDecisionMaker.ActionEnum getCurrentAction()