public class NavigationEvaluatingBot extends EvaluatingBot
isCompletedact, aStar, body, combo, config, ctf, descriptors, draw, fwMap, game, info, items, levelGeometryModule, listenerRegistrator, mapTweaks, move, navBuilder, navigation, navMeshModule, navPoints, navPointVisibility, nmNav, nmPathBuilder, players, random, raycasting, senses, serverProvider, shoot, stats, ut2004PathPlanner, visibility, visibilityAdapter, weaponPrefs, weaponry, world| Constructor and Description |
|---|
NavigationEvaluatingBot() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeFirstLogic()
This method is called only once right before actual logic() method is
called for the first time.
|
void |
botFirstSpawn(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfo gameInfo,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange config,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage init,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Self self)
The bot is initialized in the environment - a physical representation of
the bot is present in the game.
|
void |
botInitialized(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfo gameInfo,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange config,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage init)
The bot is initialized in the environment - a physical representation of
the bot is present in the game.
|
void |
botKilled(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.BotKilled event)
Called each time our bot die.
|
void |
botShutdown() |
ExtendedBotNavigationParameters |
getExtendedParams() |
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Initialize |
getInitializeCommand()
Here we can modify initializing command for our bot.
|
ExtendedBotNavigationParameters |
getNewExtendedParams() |
BotNavigationParameters |
getParams() |
boolean |
hasExtendedParams() |
protected void |
initializePathFinding(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
Initializes the path finding from parameters with use of
NavigationFactory. |
void |
logic()
Main method that controls the bot - makes decisions what to do next.
|
static void |
main(String[] args) |
protected void |
pathExecutorStateChange(cz.cuni.amis.pogamut.base.agent.navigation.PathExecutorState state)
Path executor has changed its state (note that
UT2004BotModuleController#getPathExecutor() is internally used by
UT2004BotModuleController.getNavigation() as well!). |
getOldNavMeshModule, initializeModules, isCompletedbotAgentDown, finishControllerInitialization, getAStar, getBody, getCombo, getConfig, getCTF, getDescriptors, getDraw, getFwMap, getGame, getInfo, getItems, getLevelGeometry, getLevelGeometryModule, getMapTweaks, getMove, getNavBuilder, getNavigation, getNavMesh, getNavMeshModule, getNavPoints, getNavPointVisibility, getNavPointVisibilityAdapter, getNMNav, getNMPathBuilder, getPlayers, getRandom, getRaycasting, getSenses, getShoot, getStats, getUT2004AStarPathPlanner, getVisibility, getWeaponPrefs, getWeaponry, getWorld, initializeController, initializeListenersgetLogicInitializeTime, getLogicShutdownTime, initializeLogic, logicInitialize, logicShutdowngetAct, getBot, getLog, getName, getPassword, getWorldView, mapInfoObtained, prepareBotpublic BotNavigationParameters getParams()
public ExtendedBotNavigationParameters getExtendedParams()
public boolean hasExtendedParams()
public ExtendedBotNavigationParameters getNewExtendedParams()
protected void initializePathFinding(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
NavigationFactory.initializePathFinding in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleControllerbot - public cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Initialize getInitializeCommand()
getInitializeCommand in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotControllergetInitializeCommand in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotControllerpublic void botInitialized(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfo gameInfo,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange config,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage init)
botInitialized in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotControllerbotInitialized in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotControllergameInfo - config - information about configurationinit - information about configurationpublic void botFirstSpawn(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfo gameInfo,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange config,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage init,
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Self self)
botFirstSpawn in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotControllerbotFirstSpawn in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotControllergameInfo - config - information about configurationinit - information about configurationself - public void beforeFirstLogic()
beforeFirstLogic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogicbeforeFirstLogic in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicControllerpublic void logic()
logic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogiclogic in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicControllerpublic void botKilled(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.BotKilled event)
botKilled in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotControllerbotKilled in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotControllerevent - protected void pathExecutorStateChange(cz.cuni.amis.pogamut.base.agent.navigation.PathExecutorState state)
UT2004BotModuleController#getPathExecutor() is internally used by
UT2004BotModuleController.getNavigation() as well!).state - public static void main(String[] args) throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutExceptionpublic void botShutdown()
botShutdown in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotControllerbotShutdown in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotControllerCopyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.