cz.cuni.amis.pogamut.ut2004.communication.translator.bot.state
Class MoverListState
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.translator.bot.support.AbstractBotFSMState<InfoMessage,CONTEXT>
cz.cuni.amis.pogamut.ut2004.communication.translator.bot.support.BotListState<Mover,TranslatorContext>
cz.cuni.amis.pogamut.ut2004.communication.translator.bot.state.MoverListState
- All Implemented Interfaces:
- IFSMState<InfoMessage,TranslatorContext>
public class MoverListState
- extends BotListState<Mover,TranslatorContext>
Takes care of the mover list. It stores them inside a List object and when END message comes it sends
them to the world view via MoverListObtained event.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MoverListState
public MoverListState()
stateEntering
public void stateEntering(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol)
- Specified by:
stateEntering
in interface IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateEntering
in class BotListState<Mover,TranslatorContext>
stateLeaving
public void stateLeaving(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
- Specified by:
stateLeaving
in interface IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateLeaving
in class BotListState<Mover,TranslatorContext>
stateSymbol
public void stateSymbol(TranslatorContext context,
InfoMessage symbol)
- Specified by:
stateSymbol
in interface IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateSymbol
in class BotListState<Mover,TranslatorContext>