|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StateType | |
|---|---|
| bot | |
| info | |
| logging | |
| Uses of StateType in bot |
|---|
| Fields in bot declared as StateType | |
|---|---|
protected StateType |
EmotionalBot.previousState
Previous state our agent was in. |
protected StateType |
EmotionalBot.state
Our agent current state |
| Methods in bot that return StateType | |
|---|---|
StateType |
EmotionalBot.getPreviousState()
Returns agents previous state. |
StateType |
EmotionalBot.getState()
Returns current agent state. |
| Methods in bot with parameters of type StateType | |
|---|---|
protected void |
EmotionalBot.beginState(StateType newState)
This method is called when we enter a new state. |
void |
EmotionalFemaleBot.beginState(StateType newState)
Called when we entered some state. |
void |
EmotionalMaleBot.beginState(StateType newState)
Called when we entered a new state. |
protected void |
EmotionalBot.endState(StateType endingState)
This method is called when some state ends. |
void |
EmotionalFemaleBot.endState(StateType endingState)
Called when we are leaving some state. |
void |
EmotionalMaleBot.endState(StateType endingState)
Called when we left ceratain state. |
protected void |
EmotionalBot.goToState(StateType newState)
This method switches the bot to new state and notifies the bot - calls BeginState and EndState functions. |
protected void |
EmotionalBot.logStateEntered(StateType state,
double time)
Logs state entered. |
protected void |
EmotionalBot.logStateLeft(StateType state,
double time)
Logs state left. |
| Uses of StateType in info |
|---|
| Methods in info that return StateType | |
|---|---|
static StateType |
StateType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StateType[] |
StateType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Uses of StateType in logging |
|---|
| Fields in logging declared as StateType | |
|---|---|
StateType |
AgentStateLog.agentState
State our agent was in at the time. |
| Methods in logging with parameters of type StateType | |
|---|---|
void |
AgentLogging.insertAgentState(double currentTime,
java.lang.String agWithName,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agentWith,
PlaceType myGoalPlace,
cz.cuni.amis.pogamut.base3d.worldview.objects.Location myGoalTarget,
StateType state,
cz.cuni.amis.pogamut.base3d.worldview.objects.Location location,
cz.cuni.amis.pogamut.base3d.worldview.objects.Rotation rotation,
java.util.ArrayList<java.lang.String> interNames,
java.util.ArrayList<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> inters)
This method is used to insert agent state to agentStateHistory. |
| Constructors in logging with parameters of type StateType | |
|---|---|
AgentStateLog(double time,
java.lang.String agentWithName,
PlaceType agentGoalPlace,
LocationLog agentGoalTarget,
StateType agentState,
LocationLog agentLocation,
RotationLog agentRotation,
java.util.ArrayList<java.lang.String> interruptersNames)
Complete constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||