Ejemplo n.º 1
0
        public void Run()
        {
            while (playingGame) //really bad game loop
            {
                ConsoleKeyInfo keyI    = AskForCommand();
                Command        command = GetCommandFromKey(keyI);
                ProcessCommand(command);

                //Update display from coponent
                Console.WriteLine(fakeComponentReceiver.About());
            }
        }