cz.cuni.amis.pogamut.udk.communication.translator.server.state
Class PlayerListState
java.lang.Object
cz.cuni.amis.pogamut.udk.communication.translator.server.support.AbstractServerFSMState<InfoMessage,CONTEXT>
cz.cuni.amis.pogamut.udk.communication.translator.server.support.ServerListState<Player,TranslatorContext>
cz.cuni.amis.pogamut.udk.communication.translator.server.state.PlayerListState
- All Implemented Interfaces:
- cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
public class PlayerListState
- extends ServerListState<Player,TranslatorContext>
Takes care of the player list. It stores them inside a List object and when END message comes it sends
them to the world view via PlayerListObtained event.
Last state of the handshake - we switch from this state to the ConfigureMessageExpectedState.
- Author:
- Jimmy
PlayerListState
public PlayerListState()
innerStateSymbol
protected void innerStateSymbol(TranslatorContext context,
InfoMessage symbol)
- Overrides:
innerStateSymbol
in class ServerListState<Player,TranslatorContext>
stateLeaving
public void stateLeaving(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
- Specified by:
stateLeaving
in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateLeaving
in class ServerListState<Player,TranslatorContext>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.