nl.tudelft.goal.emohawk.agent
Class EmohawkBotBehavior

Package class diagram package EmohawkBotBehavior
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.emohawk.bot.impl.EmohawkBotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
              extended by nl.tudelft.goal.emohawk.agent.EmohawkBotBehavior
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>, cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>, cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotLogicController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot,cz.cuni.amis.pogamut.base.agent.module.LogicModule>, AsynchronousEntity

public class EmohawkBotBehavior
extends EmohawkBotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
implements AsynchronousEntity


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.emohawk.bot.impl.EmohawkBotController
act, animations, comm, config, emohawkNavigation, emoticons, fwMap, game, getBackToNavGraph, info, inventory, listenerRegistrator, move, navigation, pathExecutor, pathPlanner, places, players, random, raycasting, runStraight, senses, stats, steering, 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
EmohawkBotBehavior()
           
 
Method Summary
 void acquire()
           
 void botShutdown()
           
 void emote(EmoticonType left, EmoticonType center, EmoticonType right)
           
 Collection<EmoticonType> emoticon()
           
 cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Initialize getInitializeCommand()
          Prepares the initialization message for Gamebots using the BotParameters provided to the UT2004BotRunner.
 void initializeController(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
           
protected  void initializeModules(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
           
 void jump()
           
 void logic()
           
 String navigation()
           
 Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint> perceptNavPoints()
           
 Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> person()
           
 Collection<Place> place()
           
 void release()
           
 void runTo(UnrealIdOrLocation destination)
           
 cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo self()
           
 void skip()
           
 void stop()
           
 void turn(int amount)
           
 void turnTo(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location)
           
 void walkAlong(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player partner)
           
 void walkTo(UnrealIdOrLocation destination)
           
 
Methods inherited from class cz.cuni.amis.pogamut.emohawk.bot.impl.EmohawkBotController
finishControllerInitialization, getConfig, getFwMap, getGame, getInfo, getMove, getNavigation, getPathExecutor, getPathPlanner, getPlayers, getRandom, getRaycasting, getSenses, getStats, getWorld, initializeListeners, 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
botFirstSpawn, botInitialized, botKilled, getAct, getBot, getLog, getPassword, getWorldView, prepareBot
 
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
botFirstSpawn, botInitialized, botKilled, getAct, getBot, getLog, getPassword, getWorldView, prepareBot
 

Constructor Detail

EmohawkBotBehavior

public EmohawkBotBehavior()
Method Detail

initializeController

public void initializeController(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
Specified by:
initializeController in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
Overrides:
initializeController in class EmohawkBotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>

initializeModules

protected void initializeModules(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
Overrides:
initializeModules in class EmohawkBotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>

getInitializeCommand

public cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Initialize getInitializeCommand()
Prepares the initialization message for Gamebots using the BotParameters provided to the UT2004BotRunner.

Specified by:
getInitializeCommand in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
Overrides:
getInitializeCommand in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.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 cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
Throws:
cz.cuni.amis.utils.exception.PogamutException

botShutdown

public void botShutdown()
Specified by:
botShutdown in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
Overrides:
botShutdown in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>

acquire

public void acquire()
             throws InterruptedException
Specified by:
acquire in interface AsynchronousEntity
Throws:
InterruptedException

release

public void release()
Specified by:
release in interface AsynchronousEntity

navigation

public String navigation()

perceptNavPoints

public Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint> perceptNavPoints()

person

public Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> person()

self

public cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo self()

emoticon

public Collection<EmoticonType> emoticon()

place

public Collection<Place> place()

stop

public void stop()

runTo

public void runTo(UnrealIdOrLocation destination)

walkTo

public void walkTo(UnrealIdOrLocation destination)

walkAlong

public void walkAlong(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player partner)
               throws eis.exceptions.ActException
Throws:
eis.exceptions.ActException

emote

public void emote(EmoticonType left,
                  EmoticonType center,
                  EmoticonType right)
           throws eis.exceptions.ActException
Throws:
eis.exceptions.ActException

turn

public void turn(int amount)
          throws eis.exceptions.ActException
Throws:
eis.exceptions.ActException

turnTo

public void turnTo(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location)
            throws eis.exceptions.ActException
Throws:
eis.exceptions.ActException

jump

public void jump()
          throws eis.exceptions.ActException
Throws:
eis.exceptions.ActException

skip

public void skip()
          throws eis.exceptions.ActException
Throws:
eis.exceptions.ActException


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.