public GameContext(ServerRouter sr, string rn) { serverRouter = sr; mjModel = new GameModel(); serverController = new GameController(sr, mjModel); roomName = rn; serverState = new AfterInitialiseState(serverController); }
public AfterInitialiseState(GameController sc) { this.serverController = sc; }