|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.ut2004.bot.command.CompleteBotCommandsWrapper
public class CompleteBotCommandsWrapper
Creates and wraps all available command modules. These command modules contains documented methods that wraps Pogamut commands. For example simple locomotion provides methods for basic bot movement in the environment.
It is designed to be initialized inside IUT2004BotController.prepareBot(UT2004Bot)
method call
and may be used since since the first IUT2004BotController.botFirstSpawn(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfo, ConfigChange, InitedMessage, Self)
is called.
Constructor Summary | |
---|---|
CompleteBotCommandsWrapper(UT2004Bot agent)
Constructor. |
|
CompleteBotCommandsWrapper(UT2004Bot agent,
Weaponry weaponry,
Logger log)
Constructor. |
Method Summary | |
---|---|
Action |
getAction()
Returns cz.cuni.amis.pogamut.ut2004.bot.commands.Action command
module. |
Communication |
getCommunication()
Returns cz.cuni.amis.pogamut.ut2004.bot.commands.Communication
command module. |
ConfigureCommands |
getConfigureCommands()
Returns cz.cuni.amis.pogamut.ut2004.bot.commands.ConfigureCommands
command module. |
ImprovedShooting |
getImprovedShooting()
Returns ImprovedShooting . |
AdvancedLocomotion |
getLocomotion()
Returns cz.cuni.amis.pogamut.ut2004.bot.commands.AdvancedLocomotion
command module. |
Logger |
getLog()
|
AdvancedShooting |
getShooting()
Returns cz.cuni.amis.pogamut.ut2004.bot.commands.AdvancedShooting
command module. |
SimpleRayCasting |
getSimpleRayCasting()
Returns cz.cuni.amis.pogamut.ut2004.bot.commands.SimpleRayCasting
command module. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompleteBotCommandsWrapper(UT2004Bot agent)
agent
- AbstractUT2004Bot we will send commands forpublic CompleteBotCommandsWrapper(UT2004Bot agent, Weaponry weaponry, Logger log)
agent
- AbstractUT2004Bot we will send commands forlog
- Logger to be used for logging runtime/debug info.Method Detail |
---|
public Action getAction()
cz.cuni.amis.pogamut.ut2004.bot.commands.Action
command
module.
public AdvancedLocomotion getLocomotion()
cz.cuni.amis.pogamut.ut2004.bot.commands.AdvancedLocomotion
command module.
public AdvancedShooting getShooting()
cz.cuni.amis.pogamut.ut2004.bot.commands.AdvancedShooting
command module.
public Communication getCommunication()
cz.cuni.amis.pogamut.ut2004.bot.commands.Communication
command module.
public ConfigureCommands getConfigureCommands()
cz.cuni.amis.pogamut.ut2004.bot.commands.ConfigureCommands
command module.
public SimpleRayCasting getSimpleRayCasting()
cz.cuni.amis.pogamut.ut2004.bot.commands.SimpleRayCasting
command module.
public Logger getLog()
public ImprovedShooting getImprovedShooting()
ImprovedShooting
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |