예제 #1
0
 private void init()
 {
     Players = new List<User>();
     Table = new GameTable(6, 4);
     turnworker = new BackgroundWorker();
     turnworker.DoWork += turn;
     Chat = new List<Message>();
     maxturns = IQService.Turns;
 }
예제 #2
0
        private void init()
        {
            Players = new List<User>();
            Table = new GameTable(6, 4);
            turnworker = new BackgroundWorker();
            turnworker.DoWork += turn;
            turnworker.RunWorkerCompleted += stop;

            Chat = new List<Message>();
            maxturns = IQService.Turns;
            timeleft = -1;
        }