|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT> cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot> cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric.Inventory
public class Inventory
Module helping us handle items in UnrealEngine2Runtime.
Field Summary |
---|
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule |
---|
act, worldView |
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
---|
agent, controller, eventBus, log |
Constructor Summary | |
---|---|
Inventory(UT2004Bot agent)
Default constructor. |
Method Summary | |
---|---|
GiveItemResult |
getLastGiveItemResult()
Returns last result of give item command. |
void |
giveItem(Player pl,
ItemType item)
Gives item to input bot. |
void |
giveItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id,
ItemType item)
Gives item to input bot. |
void |
pickItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id)
Picks item at the location of the bot - bot has to be touching the item. |
void |
putDownItem(ItemType item)
Puts item down at the location of the bot. |
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
---|
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Inventory(UT2004Bot agent)
agent
- Method Detail |
---|
public GiveItemResult getLastGiveItemResult()
public void giveItem(Player pl, ItemType item)
pl
- item
- public void giveItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id, ItemType item)
id
- item
- public void putDownItem(ItemType item)
item
- public void pickItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id)
id
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |