public class Navigation2TestBot extends UT2004BotTestController<UT2004Bot>
Initialize with Navigation2TestBotParameters
or set start-end navpoint pairs
via setStartNavPointId(String)
and setEndNavPointId(String)
(navpoint from the params are taken only iff navpoint pair is not already set).
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, world
logicModule
bot, log, USER_LOG_CATEGORY_ID
Constructor and Description |
---|
Navigation2TestBot() |
Modifier and Type | Method and Description |
---|---|
void |
botFirstSpawn(GameInfo gameInfo,
ConfigChange currentConfig,
InitedMessage init,
Self self) |
void |
botInitialized(GameInfo gameInfo,
ConfigChange currentConfig,
InitedMessage init) |
UnrealId |
getEndNavPointId() |
int |
getRepetitions() |
UnrealId |
getStartNavPointId() |
void |
logic() |
void |
prepareBot(UT2004Bot bot) |
void |
setEndNavPointId(String endNavpointId) |
void |
setEndNavPointId(UnrealId endNavpointId) |
void |
setRepetitions(int repetitions) |
void |
setStartNavPointId(String startNavPointId) |
void |
setStartNavPointId(UnrealId startNavPointId) |
getCause, getFailureFlag, getLogicModule, getMessage, getSuccessFlag, getTestLatch, initializeController, isFailure, isSuccess, setFailure, setFailure, setFailure, setFailure, setSuccess, setSuccess, setTestLatch, timeout
finishControllerInitialization, getBody, getCombo, getConfig, getDescriptors, getFwMap, getGame, getInfo, getItems, getMove, getNavBuilder, getNavigation, getPathExecutor, getPathPlanner, getPlayers, getRandom, getRaycasting, getSenses, getShoot, getStats, getVisibility, getWeaponPrefs, getWeaponry, getWorld, initializeListeners, initializeModules, initializePathFinding
beforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, initializeLogic, logicInitialize, logicShutdown
botKilled, botShutdown, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
botKilled, botShutdown, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView
public void prepareBot(UT2004Bot bot)
prepareBot
in interface IUT2004BotController<UT2004Bot>
prepareBot
in class UT2004BotController<UT2004Bot>
public void botInitialized(GameInfo gameInfo, ConfigChange currentConfig, InitedMessage init)
botInitialized
in interface IUT2004BotController<UT2004Bot>
botInitialized
in class UT2004BotController<UT2004Bot>
public void botFirstSpawn(GameInfo gameInfo, ConfigChange currentConfig, InitedMessage init, Self self)
botFirstSpawn
in interface IUT2004BotController<UT2004Bot>
botFirstSpawn
in class UT2004BotController<UT2004Bot>
public void logic()
logic
in interface IAgentLogic<LogicModule>
logic
in class UT2004BotLogicController<UT2004Bot>
public UnrealId getStartNavPointId()
public void setStartNavPointId(String startNavPointId)
public UnrealId getEndNavPointId()
public void setEndNavPointId(String endNavpointId)
public void setStartNavPointId(UnrealId startNavPointId)
public void setEndNavPointId(UnrealId endNavpointId)
public int getRepetitions()
public void setRepetitions(int repetitions)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.