cz.cuni.amis.pogamut.emohawk.examples.modularsposhmoodbot
Class MoodContext
java.lang.Object
cz.cuni.amis.pogamut.sposh.context.Context<BOT>
cz.cuni.amis.pogamut.sposh.context.EmohawkContext<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
cz.cuni.amis.pogamut.emohawk.examples.modularsposhmoodbot.MoodContext
- All Implemented Interfaces:
- IContext<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>, IUT2004Context<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
public class MoodContext
- extends EmohawkContext<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
Context is a class that funsions like a shared object between all primitives.
You may use default EmohawkContext or create custom one, that is extended
to fulfill needs of your bot (extended memory, custom map planner and other stuff).
Remmeber to call method EmohawkContext.initialize(), otherwise you will
end up with uninitialized modules and very likely with NullPointerException.
- Author:
- Honza
| Fields inherited from class cz.cuni.amis.pogamut.sposh.context.EmohawkContext |
act, animations, comm, config, emoticons, fwMap, game, getBackToNavGraph, info, inventory, listenerRegistrator, log, move, navigation, pathExecutor, pathPlanner, places, players, random, raycasting, runStraight, senses, stats, steering, world |
| Fields inherited from class cz.cuni.amis.pogamut.sposh.context.Context |
bot, name |
|
Constructor Summary |
MoodContext(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
|
| Methods inherited from class cz.cuni.amis.pogamut.sposh.context.EmohawkContext |
botInitialized, botKilled, botSpawned, finishInitialization, getAct, getAnimations, getBackToNavGraph, getComm, getConfig, getEmoticons, getFwMap, getGame, getGetBackToNavGraph, getInfo, getInventory, getListenerRegistrator, getLog, getMove, getNavigation, getPathExecutor, getPathPlanner, getPlaces, getPlayers, getRandom, getRaycasting, getRunStraight, getSenses, getStats, getSteering, getWorld, getWorldView, initialize, initializeListeners, initializeModules, initializePathFinding, logicIteration, prepareBehaviour |
| Methods inherited from class cz.cuni.amis.pogamut.sposh.context.Context |
getBot |
| 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.sposh.context.IContext |
getBot |
MoodContext
public MoodContext(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.