public class MoodLogic extends cz.cuni.amis.pogamut.sposh.ut2004.StateSposhLogicController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot,MoodContext>
SPOSH_LOG_CATEGORY| Constructor and Description |
|---|
MoodLogic() |
| Modifier and Type | Method and Description |
|---|---|
protected MoodContext |
createContext()
Create context that can be accessed in every state primitive.
|
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Initialize |
getInitializeCommand()
Initialize command of the bot, called during initial handshake, init can
set things like name of bot, its skin, skill, team ect.
|
protected String |
getPlan() |
static void |
main(String[] args)
Create an
ExternalBot with custom made logic and
try to connect to Unreal Server at localhost:3000 |
createWorkExecutor, customPrimitiveInstantiation, finishControllerInitialization, getContext, initializeControllercreateTimer, getEngine, getPlanFromFile, getPlanFromResource, getPlanFromStream, getTimer, getWorkExecutor, logic, logicAfterPlan, logicBeforePlanbeforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, initializeLogic, logicInitialize, logicShutdownbotFirstSpawn, botInitialized, botKilled, botShutdown, getAct, getBot, getLog, getPassword, getWorldView, prepareBotprotected String getPlan() throws IOException
getPlan in class cz.cuni.amis.pogamut.sposh.ut2004.SposhLogicController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot,cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor>IOExceptionprotected MoodContext createContext()
createContext in class cz.cuni.amis.pogamut.sposh.ut2004.StateSposhLogicController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot,MoodContext>public cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Initialize getInitializeCommand()
getInitializeCommand in interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>getInitializeCommand in class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>Initializepublic static void main(String[] args) throws cz.cuni.amis.utils.exception.PogamutException
ExternalBot with custom made logic and
try to connect to Unreal Server at localhost:3000args - the command line argumentscz.cuni.amis.utils.exception.PogamutExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.