Ejemplo n.º 1
0
        public GameServer(IChineseService chineseService,
                          IGameMiddleware gameMiddleware,
                          IGameHelper gameHelper)
        {
            this.chineseService = chineseService;

            this.gameMiddleware = gameMiddleware;

            this.gameHelper = gameHelper;

            Thread thread = new Thread(StartServer);

            thread.Start();
        }
Ejemplo n.º 2
0
        public GameHelper(IChineseService chineseService)
        {
            this.chineseService = chineseService;

            gameTasks = new List <GameTask>();
        }