Beispiel #1
0
        public void GameIsPlaying()
        {
            String command = ingameMenu.Menu();

            while (command != "e")
            {
                Console.Clear();
                switch (command)
                {
                case "c":
                    CharacterInfo.showCharacterInfo(hero);
                    break;

                case "i":
                    hero = hero.OpenInventory(hero);
                    break;

                case "l":
                    showPlaceInfo();
                    break;
                }
                command = ingameMenu.Menu();
            }
        }