Uses of Class
info.ScenarioItemType

Packages that use ScenarioItemType
almabasedmodel   
bot   
info   
logging   
 

Uses of ScenarioItemType in almabasedmodel
 

Methods in almabasedmodel with parameters of type ScenarioItemType
 void AEventGenerator.generateItemJelausyEvent(ScenarioItemType itemType, int id)
          Some agent gave item to other agent.
 void AEventGenerator.generatePickupEvent(ScenarioItemType type)
          We have picked up some item – can be flower, condom or gun.
 void AEventGenerator.generateReceivedItemEvent(ScenarioItemType itemType, int id)
          We have received item from someone.
 

Uses of ScenarioItemType in bot
 

Fields in bot with type parameters of type ScenarioItemType
 java.util.HashMap<ScenarioItemType,java.lang.Integer> EmotionalBot.myItems
          Holds all my scenario items
 

Methods in bot that return ScenarioItemType
 ScenarioItemType EmotionalBot.parseItemType(java.lang.String toString)
          Parses item type from input string.
private  ScenarioItemType EmotionalMaleBot.pickItem(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agent)
          Picks item according to our feeling, item possesions and agent internals.
 

Methods in bot with parameters of type ScenarioItemType
protected  void EmotionalBot.actionGiveItem(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player targetAgent, ScenarioItemType item)
          We will give target item to targetAgent if we have the item.
private  void EmotionalBot.logItemGiven(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player agent, ScenarioItemType item, double time)
          Logs item given to some agent.
 void EmotionalBot.logItemReceived(int agentId, java.lang.String agentName, ScenarioItemType item, double time)
          Logs item received from some agent.
 

Uses of ScenarioItemType in info
 

Fields in info declared as ScenarioItemType
private  ScenarioItemType ItemRequest.itemType
          Type of the requested item
 

Fields in info with type parameters of type ScenarioItemType
private  java.util.HashMap<ScenarioItemType,java.util.ArrayList<java.lang.Double>> PlayerInfo.givenItems
          Items we have given to the player
private  java.util.HashMap<ScenarioItemType,java.util.ArrayList<java.lang.Double>> PlayerInfo.receivedItems
          Items we have received from the player
 

Methods in info that return ScenarioItemType
 ScenarioItemType ItemRequest.getItemType()
          Gets item type.
static ScenarioItemType ScenarioItemType.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ScenarioItemType[] ScenarioItemType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in info that return types with arguments of type ScenarioItemType
 java.util.HashMap<ScenarioItemType,java.util.ArrayList<java.lang.Double>> PlayerInfo.getGivenItems()
          Gets HashMap containing all items we have given to this agent.
 java.util.HashMap<ScenarioItemType,java.util.ArrayList<java.lang.Double>> PlayerInfo.getReceivedItems()
          Gets all items in a HashMap we have received from this agent.
 

Methods in info with parameters of type ScenarioItemType
 double PlayerInfo.getLastGivenItemTime(ScenarioItemType type)
          Gets last time we have given item of desired type to this agent.
 double PlayerInfo.getLastReceivedItemTime(ScenarioItemType type)
          Gets last time we have received item of desired type from this agent.
 void PlayerInfo.insertGivenItem(ScenarioItemType type, double time)
          Inserts new given item to this agent into our internals.
 void PlayerInfo.insertReceivedItem(ScenarioItemType type, double time)
          Inserts new item we have received from this agent into our internals.
 

Constructors in info with parameters of type ScenarioItemType
ItemRequest(int agentId, ScenarioItemType itemType, double time)
          Constructor for this class - requires agent id, item type and time we have received the request.
 

Uses of ScenarioItemType in logging
 

Fields in logging declared as ScenarioItemType
 ScenarioItemType ItemLog.itemType
          Type of the item
 

Methods in logging with parameters of type ScenarioItemType
 void AgentLogging.insertItem(ScenarioItemType item, int id, java.lang.String name, boolean bReceived, double feeling, double time)
          Used for inserting item into itemsHistory.
 

Constructors in logging with parameters of type ScenarioItemType
ItemLog(ScenarioItemType itemType, int agentId, java.lang.String agentName, boolean bReceived, double feeling, double time)
          Constructor for this class.