Ejemplo n.º 1
0
        public void RunLoop()
        {
            GameUpdate update = null;

            while ((update = ServerConnection.ReadUpdate()) != null)
            {
                StateManager.HandleGameUpdate(update);
                ServerConnection.SendCommands(AIStrategy.BuildCommandList());
            }
        }