|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UDKBot>
cz.cuni.amis.pogamut.udk.bot.command.BotCommands
cz.cuni.amis.pogamut.udk.bot.command.SimpleShooting
public class SimpleShooting
Class providing Pogamut2 UT2004 simple shooting commands for the bot
| 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 | |
|---|---|
SimpleShooting(UDKBot agent,
Logger log)
Constructor. |
|
| Method Summary | |
|---|---|
void |
shoot()
Bot will start shooting his current weapon (Issues GB SHOOT command) |
void |
shoot(Player target)
Bot will start shooting with his current weapon at the target provided. |
void |
shoot(UnrealId target)
Bot will start shooting with his current weapon at the target provided. |
void |
stopShoot()
Bot will stop shooting his current weapon (Issues GB STOPSHOOT command) |
| 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 SimpleShooting(UDKBot agent,
Logger log)
agent - AbstractUT2004Bot we will send commands forlog - Logger to be used for logging runtime/debug info.| Method Detail |
|---|
public void shoot()
stopShoot(),
shoot(UnrealId)public void shoot(UnrealId target)
target - Target (that should be ILocated) the bot will shoot at. Bot
will track the target, but see note above.stopShoot(),
shoot()public void shoot(Player target)
target - Player the bot wants to shoot at.stopShoot(),
shoot()public void stopShoot()
shoot(),
shoot(UnrealId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||