nl.tudelft.goal.ut2004.agent
Class PathTestController
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<UT2004Bot>
nl.tudelft.goal.ut2004.agent.PathTestController
- All Implemented Interfaces:
- cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>, IUT2004BotController<UT2004Bot>, IUT2004BotLogicController<UT2004Bot,cz.cuni.amis.pogamut.base.agent.module.LogicModule>
public class PathTestController
- extends UT2004BotModuleController<UT2004Bot>
Test controller for various WeaponShooting
s. Agents will follow a
path and shoot each other. With some special bits for the shield gun and link
gun.
At the end of the test after the testduration the controller checks if bot
has made at least one kill (if he had a weapon capable of doing so). If so,
the bot passes the test.
- Author:
- mpkorstanje
Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
act, aStar, body, combo, config, ctf, descriptors, fwMap, game, getBackToNavGraph, info, items, listenerRegistrator, move, navBuilder, navigation, navPoints, pathExecutor, pathPlanner, players, random, raycasting, runStraight, senses, shoot, stats, visibility, weaponPrefs, weaponry, world |
Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
getAStar, 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, initializePathFinding |
Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController |
botFirstSpawn, botInitialized, botKilled, botShutdown, getAct, getBot, getLog, getName, getPassword, getWorldView, prepareBot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathTestController
public PathTestController()
initializeModules
protected void initializeModules(UT2004Bot bot)
- Overrides:
initializeModules
in class UT2004BotModuleController<UT2004Bot>
initializeWeaponShootings
protected void initializeWeaponShootings()
finishControllerInitialization
public void finishControllerInitialization()
- Specified by:
finishControllerInitialization
in interface IUT2004BotController<UT2004Bot>
- Overrides:
finishControllerInitialization
in class UT2004BotModuleController<UT2004Bot>
getInitializeCommand
public Initialize getInitializeCommand()
- Specified by:
getInitializeCommand
in interface IUT2004BotController<UT2004Bot>
- Overrides:
getInitializeCommand
in class UT2004BotController<UT2004Bot>
beforeFirstLogic
public void beforeFirstLogic()
- Specified by:
beforeFirstLogic
in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>
- Overrides:
beforeFirstLogic
in class UT2004BotLogicController<UT2004Bot>
logic
public void logic()
throws cz.cuni.amis.utils.exception.PogamutException
- Specified by:
logic
in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>
- Overrides:
logic
in class UT2004BotLogicController<UT2004Bot>
- Throws:
cz.cuni.amis.utils.exception.PogamutException
main
public static void main(String[] args)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.