Ejemplo n.º 1
0
        public void AdventureSelector()
        {
            Console.WriteLine("Anduin sets off on his quest for the Wisdom Jewel and must make his first choice: the path through the endless desert or Duin the river through the Elven Kingdom.\n\n Each path presents its own unique foes and potential obstacles.\n\nType desert or river to continue your quest!");
            string adventureSelection = Console.ReadLine();

            switch (adventureSelection)
            {
            case "desert":
                desert = new Desert();
                desert.DesertAdventure(this);
                break;

            case "river":
                river = new River();
                river.RiverAdventure(this);
                break;

            default:
                Console.WriteLine("Please enter your selection carefully, check spelling and case sensitivity.");
                Console.ReadLine();
                AdventureSelector();
                break;
            }
        }
Ejemplo n.º 2
0
 //constuctor (spawner)
 public Paladin()
 {
     desert = new Desert();
     river  = new River();
 }