cz.cuni.amis.pogamut.ut2004.bot.navigation
Class NavigationTestBot

Package class diagram package NavigationTestBot
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<BOT>
      extended by cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController<BOT>
          extended by cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController<BOT>
              extended by cz.cuni.amis.pogamut.ut2004.bot.UT2004BotTestController<UT2004Bot>
                  extended by 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

Field Summary
 
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
 
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
NavigationTestBot()
           
 
Method Summary
 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)
           
 
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 cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController
beforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, initializeLogic, logicInitialize, logicShutdown
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController
botKilled, botShutdown, getAct, getBot, getInitializeCommand, getLog, getName, getPassword, getWorldView
 
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
botKilled, botShutdown, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView
 

Constructor Detail

NavigationTestBot

public NavigationTestBot()
Method Detail

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.