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

java.lang.Objectcz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<BOT>
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController<BOT>
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController
cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot.EvaluatingBot
cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot.NavigationEvaluatingBot
public class NavigationEvaluatingBot
Bot for evaluating navigations. Initialized with navigation given by parameters and performs evaluation on given map. Extended from original example archetype from Pogamut.
| Field Summary |
|---|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot.EvaluatingBot |
|---|
isCompleted |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
|---|
act, aStar, body, combo, config, ctf, descriptors, draw, fwMap, game, info, items, levelGeometryModule, listenerRegistrator, mapTweaks, move, navBuilder, navigation, navMeshModule, navPoints, nmNav, players, random, raycasting, senses, shoot, stats, ut2004PathPlanner, visibility, weaponPrefs, weaponry, world |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController |
|---|
logicModule |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController |
|---|
bot, log, USER_LOG_CATEGORY_ID |
| Constructor Summary | |
|---|---|
NavigationEvaluatingBot()
|
|
| Method Summary | |
|---|---|
void |
beforeFirstLogic()
This method is called only once right before actual logic() method is called for the first time. |
void |
botFirstSpawn(GameInfo gameInfo,
ConfigChange config,
InitedMessage init,
Self self)
The bot is initialized in the environment - a physical representation of the bot is present in the game. |
void |
botInitialized(GameInfo gameInfo,
ConfigChange config,
InitedMessage init)
The bot is initialized in the environment - a physical representation of the bot is present in the game. |
void |
botKilled(BotKilled event)
Called each time our bot die. |
void |
botShutdown()
|
ExtendedBotNavigationParameters |
getExtendedParams()
|
Initialize |
getInitializeCommand()
Here we can modify initializing command for our bot. |
ExtendedBotNavigationParameters |
getNewExtendedParams()
|
BotNavigationParameters |
getParams()
|
boolean |
hasExtendedParams()
|
protected void |
initializePathFinding(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!). |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot.EvaluatingBot |
|---|
isCompleted |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
|---|
botAgentDown, finishControllerInitialization, getAStar, getBody, getCombo, getConfig, getCTF, getDescriptors, getFwMap, getGame, getInfo, getItems, getLevelGeometry, getLevelGeometryModule, getMapTweaks, getMove, getNavBuilder, getNavigation, getNavMesh, getNavMeshModule, getNavPoints, getNMNav, getPlayers, getRandom, getRaycasting, getSenses, getShoot, getStats, getUT2004AStarPathPlanner, getVisibility, getWeaponPrefs, getWeaponry, getWorld, initializeController, initializeListeners, initializeModules |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController |
|---|
getLogicInitializeTime, getLogicShutdownTime, initializeLogic, logicInitialize, logicShutdown |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController |
|---|
getAct, getBot, getLog, getName, getPassword, getWorldView, mapInfoObtained, prepareBot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController |
|---|
getAct, getBot, getLog, getPassword, getWorldView, mapInfoObtained, prepareBot |
| Constructor Detail |
|---|
public NavigationEvaluatingBot()
| Method Detail |
|---|
public BotNavigationParameters getParams()
public ExtendedBotNavigationParameters getExtendedParams()
public boolean hasExtendedParams()
public ExtendedBotNavigationParameters getNewExtendedParams()
protected void initializePathFinding(UT2004Bot bot)
NavigationFactory.
initializePathFinding in class UT2004BotModuleControllerbot - public Initialize getInitializeCommand()
getInitializeCommand in interface IUT2004BotControllergetInitializeCommand in class UT2004BotController
public void botInitialized(GameInfo gameInfo,
ConfigChange config,
InitedMessage init)
botInitialized in interface IUT2004BotControllerbotInitialized in class UT2004BotControllergameInfo - config - information about configurationinit - information about configuration
public void botFirstSpawn(GameInfo gameInfo,
ConfigChange config,
InitedMessage init,
Self self)
botFirstSpawn in interface IUT2004BotControllerbotFirstSpawn in class UT2004BotControllergameInfo - config - information about configurationinit - information about configurationself - public void beforeFirstLogic()
beforeFirstLogic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogicbeforeFirstLogic in class UT2004BotLogicControllerpublic void logic()
logic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogiclogic in class UT2004BotLogicControllerpublic void botKilled(BotKilled event)
botKilled in interface IUT2004BotControllerbotKilled in class 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 IUT2004BotControllerbotShutdown in class UT2004BotController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||