cz.cuni.amis.pogamut.ut2004.bot.navigation
Class NavigationTestBot
java.lang.Object
cz.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<BOT>
cz.cuni.amis.pogamut.ut2004.bot.UT2004BotTestController<UT2004Bot>
cz.cuni.amis.pogamut.ut2004.bot.navigation.NavigationTestBot
- All Implemented Interfaces:
- IAgentLogic<LogicModule>, IUT2004BotController<UT2004Bot>, IUT2004BotLogicController<UT2004Bot,LogicModule>
public class NavigationTestBot
- extends UT2004BotTestController<UT2004Bot>
Allows you to specify start-end navpoint that should be run through (tested).
Initialize with NavigationTestBotParameters 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).
- Author:
- Jimmy
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
act, aStar, body, combo, config, ctf, descriptors, draw, fwMap, game, getBackToNavGraph, info, items, levelGeometryModule, listenerRegistrator, move, navBuilder, navigation, navMeshModule, navPoints, pathExecutor, pathPlanner, players, random, raycasting, runStraight, senses, shoot, stats, visibility, weaponPrefs, weaponry, world |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.UT2004BotTestController |
getCause, getFailureFlag, getLogicModule, getMessage, getSuccessFlag, getTestLatch, initializeController, isFailure, isSuccess, setFailure, setFailure, setFailure, setFailure, setSuccess, setSuccess, setTestLatch, timeout |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
botAgentDown, finishControllerInitialization, getAStar, getBody, getCombo, getConfig, getDescriptors, getFwMap, getGame, getInfo, getItems, getLevelGeometry, getLevelGeometryModule, getMove, getNavBuilder, getNavigation, getNavMesh, getNavMeshModule, getPathExecutor, getPathPlanner, getPlayers, getRandom, getRaycasting, getSenses, getShoot, getStats, getVisibility, getWeaponPrefs, getWeaponry, getWorld, initializeListeners, initializeModules, initializePathFinding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationTestBot
public NavigationTestBot()
prepareBot
public void prepareBot(UT2004Bot bot)
- Specified by:
prepareBot in interface IUT2004BotController<UT2004Bot>- Overrides:
prepareBot in class UT2004BotController<UT2004Bot>
botInitialized
public void botInitialized(GameInfo gameInfo,
ConfigChange currentConfig,
InitedMessage init)
- Specified by:
botInitialized in interface IUT2004BotController<UT2004Bot>- Overrides:
botInitialized in class UT2004BotController<UT2004Bot>
botFirstSpawn
public void botFirstSpawn(GameInfo gameInfo,
ConfigChange currentConfig,
InitedMessage init,
Self self)
- Specified by:
botFirstSpawn in interface IUT2004BotController<UT2004Bot>- Overrides:
botFirstSpawn in class UT2004BotController<UT2004Bot>
logic
public void logic()
- Specified by:
logic in interface IAgentLogic<LogicModule>- Overrides:
logic in class UT2004BotLogicController<UT2004Bot>
getStartNavPointId
public UnrealId getStartNavPointId()
setStartNavPointId
public void setStartNavPointId(String startNavPointId)
getEndNavPointId
public UnrealId getEndNavPointId()
setEndNavPointId
public void setEndNavPointId(String endNavpointId)
setStartNavPointId
public void setStartNavPointId(UnrealId startNavPointId)
setEndNavPointId
public void setEndNavPointId(UnrealId endNavpointId)
getRepetitions
public int getRepetitions()
setRepetitions
public void setRepetitions(int repetitions)
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.