コード例 #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();
        }
コード例 #2
0
        public GameServer(IKalaburyService kalaburyService,
                          IGameMiddleware gameMiddleware,
                          IGameHelper gameHelper)
        {
            this.kalaburyService = kalaburyService;

            this.gameMiddleware = gameMiddleware;

            this.gameHelper = gameHelper;

            Thread thread = new Thread(StartServer);

            thread.Start();
        }
コード例 #3
0
        public GameServer(IShipsService shipsService,
                          IGameMiddleware gameMiddleware,
                          IGameHelper gameHelper)
        {
            this.shipsService = shipsService;

            this.gameMiddleware = gameMiddleware;

            this.gameHelper = gameHelper;

            Thread thread = new Thread(StartServer);

            thread.Start();
        }