Exemple #1
0
        private const float MS_PER_TICK = 1000f / TICKS_PER_SEC; // How many milliseconds per tick

        static void Main(string[] args)
        {
            Console.Title = "Game Server";
            isRunning     = true;
            GameManager.Init();

            Thread mainThread = new Thread(new ThreadStart(MainThread));

            mainThread.Start();

            Server.Start(50, 26950);
        }