Esempio n. 1
0
        private void StartRun(object obj)
        {
            List <Player> gamePlayers = players.Values.ToList();

            status = LobbyStatus.StartedRun;
            GM.StartRun();
            for (int i = 0; i < gamePlayers.Count; i++)
            {
                Player p = gamePlayers[i];
                Router.SendMessage(p.WSContext, "START_RUN");
            }

            /*
             * TimerCallback tm = new TimerCallback(clock);
             * StartCount = new Timer(tm, null, 1, Timeout.Infinite);
             */
        }