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