public class SimpleShooting extends BotCommands
act, worldViewagent, controller, eventBus, log| Constructor and Description |
|---|
SimpleShooting(UT2004Bot agent,
Logger log)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
shoot()
Bot will start shooting his current weapon (Issues GB SHOOT command)
|
void |
shoot(ILocated location)
Bot will start shooting his current weapon to a specified location (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()
Deprecated.
|
void |
stopShooting()
Bot will stop shooting his current weapon (Issues GB STOPSHOOT command)
|
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toStringpublic void shoot()
stopShoot(),
shoot(UnrealId),
shoot(ILocated)public void shoot(ILocated location)
location - 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()@Deprecated public void stopShoot()
stopShooting() instead!shoot(),
shoot(UnrealId)public void stopShooting()
shoot(),
shoot(UnrealId)Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.