示例#1
0
 public GameContext(ServerRouter sr, string rn)
 {
     serverRouter     = sr;
     mjModel          = new GameModel();
     serverController = new GameController(sr, mjModel);
     roomName         = rn;
     serverState      = new AfterInitialiseState(serverController);
 }
示例#2
0
 public GameContext(ServerRouter sr, string rn)
 {
     serverRouter = sr;
     mjModel = new GameModel();
     serverController = new GameController(sr, mjModel);
     roomName = rn;
     serverState = new AfterInitialiseState(serverController);
 }     
示例#3
0
        // public List<>//ipaddresとポートが入る?



        public GameController(ServerRouter sr, GameModel mm)
        {
            serverRouter  = sr;
            serverMjModel = mm;
        }
示例#4
0
       // public List<>//ipaddresとポートが入る?
       


        public GameController(ServerRouter sr,  GameModel mm) {
            serverRouter = sr;
            serverMjModel = mm;
        }