public class Inventory extends SensomotoricModule<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
act, worldViewagent, controller, eventBus, log| Constructor and Description |
|---|
Inventory(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot agent)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GiveItemResult |
getLastGiveItemResult()
Returns last result of give item command.
|
void |
giveItem(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player pl,
ItemTypeUE2 item)
Gives item to input bot.
|
void |
giveItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id,
ItemTypeUE2 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(ItemTypeUE2 item)
Puts item down at the location of the bot.
|
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toStringpublic Inventory(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot agent)
agent - public cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GiveItemResult getLastGiveItemResult()
public void giveItem(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player pl,
ItemTypeUE2 item)
pl - item - public void giveItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id,
ItemTypeUE2 item)
id - item - public void putDownItem(ItemTypeUE2 item)
item - public void pickItem(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id)
id - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.