public class Inventory extends SensomotoricModule<UT2004Bot>
act, worldViewagent, controller, eventBus, log| Constructor and Description |
|---|
Inventory(UT2004Bot agent)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GiveItemResult |
getLastGiveItemResult()
Returns last result of give item command.
|
void |
giveItem(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(UT2004Bot agent)
agent - public GiveItemResult getLastGiveItemResult()
public void giveItem(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.