- a client state machine consits out of a 'ClientState' (every state of the machine) and a 'ClientStateMachine' (every state, which consists out of states), the machine starts with the ClientAutomaton - analog for server - started to implement logic for the server, transition from 'Lobby' to 'GameState'
13 lines
277 B
Java
13 lines
277 B
Java
package pp.mdga.server;
|
|
|
|
public class TurnStateMachine extends ServerStateMachine {
|
|
public TurnStateMachine(ServerState parent, ServerGameLogic logic) {
|
|
super(parent, logic);
|
|
}
|
|
|
|
@Override
|
|
public ServerState initialState() {
|
|
return null;
|
|
}
|
|
}
|