|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ActionType | |
|---|---|
| bot | |
| info | |
| logging | |
| Uses of ActionType in bot |
|---|
| Fields in bot declared as ActionType | |
|---|---|
protected ActionType |
EmotionalBot.lastActionType
Type of the last action |
| Methods in bot that return ActionType | |
|---|---|
protected ActionType |
EmotionalBot.pickAction(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agent)
Picks some action toward the agent based on the feeligns toward the agent, current agent situation (atCinema, atHome), our agent current state (INTERRUPT..) |
| Methods in bot with parameters of type ActionType | |
|---|---|
void |
EmotionalBot.doAction(ActionType type,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agent)
Does input action towards target agent. |
private void |
EmotionalBot.logAction(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agent,
ActionType type,
double time,
double duration)
Logs input action towards input agent into log file. |
protected void |
EmotionalBot.setAction(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agent,
ActionType type,
double time,
double duration)
Sets the action as current action and updates agent internals and player history. |
| Uses of ActionType in info |
|---|
| Fields in info declared as ActionType | |
|---|---|
private ActionType |
PlayerInfo.lastActionByType
Last action type this agent did to us |
private ActionType |
PlayerInfo.lastActionType
Last action type we have did to this agent |
| Methods in info that return ActionType | |
|---|---|
ActionType |
PlayerInfo.getLastActionByType()
Gets last action type the agent has done to us. |
ActionType |
PlayerInfo.getLastActionType()
Gets last action type we have done to this agent. |
static ActionType |
ActionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ActionType[] |
ActionType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in info with parameters of type ActionType | |
|---|---|
void |
PolymorphEventInfo.updateAction(ActionType type,
double currentTime)
Updates this class internal variables according to the action the polymorph have made to us. |
void |
PlayerInfo.updateAction(ActionType type,
double time,
boolean causedBySelf)
Main method for action updating. |
| Uses of ActionType in logging |
|---|
| Fields in logging declared as ActionType | |
|---|---|
ActionType |
ActionLog.actionType
The type of the action. |
| Methods in logging with parameters of type ActionType | |
|---|---|
void |
AgentLogging.insertAction(ActionType type,
int id,
double feeling,
java.lang.String name,
double time,
double duration)
This method is used to insert action in the actionsHistory. |
| Constructors in logging with parameters of type ActionType | |
|---|---|
ActionLog(ActionType actionType,
int targetId,
double feeling,
java.lang.String targetName,
double time,
double duration)
Complete constructor that initializes all the variables. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||