public class HideBot extends UT2004BotModuleController
Visibility module.
Must be run on DM-1on1-Albatross. If you want to use different map
read javadoc for Visibility and VisibilityCreator.| Modifier and Type | Field and Description |
|---|---|
protected UT2004PathAutoFixer |
autoFixer
Used for autofixing navpoints.
|
protected TabooSet<NavPoint> |
tabooNavPoints
Taboo set is working as "black-list", that is you might add some
NavPoints to it for a certain time, marking them as "unavailable".
|
act, body, combo, config, ctf, descriptors, fwMap, game, getBackToNavGraph, info, items, listenerRegistrator, move, navBuilder, navigation, pathExecutor, pathPlanner, players, random, raycasting, runStraight, senses, shoot, stats, visibility, weaponPrefs, weaponry, worldlogicModulebot, log, USER_LOG_CATEGORY_ID| Constructor and Description |
|---|
HideBot() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Initialize |
getInitializeCommand()
Here we can modify initializing command for our bot.
|
protected NavPoint |
getRandomNavPoint()
Randomly picks some navigation point to head to.
|
void |
logic() |
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!). |
finishControllerInitialization, getBody, getCombo, getConfig, getDescriptors, getFwMap, getGame, getInfo, getItems, getMove, getNavBuilder, getNavigation, getPathExecutor, getPathPlanner, getPlayers, getRandom, getRaycasting, getSenses, getShoot, getStats, getVisibility, getWeaponPrefs, getWeaponry, getWorld, initializeController, initializeListeners, initializeModules, initializePathFindingbeforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, initializeLogic, logicInitialize, logicShutdownbotFirstSpawn, botShutdown, getAct, getBot, getLog, getPassword, getWorldView, prepareBotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbotFirstSpawn, botShutdown, getAct, getBot, getLog, getPassword, getWorldView, prepareBotprotected TabooSet<NavPoint> tabooNavPoints
protected UT2004PathAutoFixer autoFixer
public Initialize getInitializeCommand()
getInitializeCommand in interface IUT2004BotControllergetInitializeCommand in class UT2004BotControllerpublic void botInitialized(GameInfo gameInfo, ConfigChange config, InitedMessage init)
botInitialized in interface IUT2004BotControllerbotInitialized in class UT2004BotControllerconfig - information about configurationinit - information about configurationpublic 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 - protected NavPoint getRandomNavPoint()
public static void main(String[] args) throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.