Exemplo n.º 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 Client";
            isRunning     = true;
            GameManager.Init();
            Client.Init();

            Client.Get.ConnectToServer();

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

            mainThread.Start();
        }