示例#1
0
        private void OutputGameState()
        {
            Console.Clear();

            string message   = messageOutput.GetOutputMessageLine();
            string mapOutput = mapStateOutput.GetMapStateOutput(CurrentGame);
            string gameState = gameStateOutput.OutputGameState(CurrentGame);

            Console.WriteLine(message);
            Console.Write(mapOutput);
            Console.Write(gameState);

            while (messageOutput.Messages.HasNewMessages)
            {
                Console.ReadLine();

                Console.Clear();

                message = messageOutput.GetOutputMessageLine();
                Console.WriteLine(message);
                Console.Write(mapOutput);
                Console.Write(gameState);
            }
        }