示例#1
0
        public void Confirm(String Choice)
        {
            String Dialogue = " You've Chosen: ";

            Animationsand_effects.TypeWriter(Dialogue, "magenta");
            Console.WriteLine(Choice);
        }
示例#2
0
        public static string ChooseClass()
        {
            Console.Clear();
            Dialogue = " can choose between two Classes:\n";
            Console.Write(plName);
            Animationsand_effects.TypeWriter(Dialogue, "magenta");
            if (plRace == "Orc")
            {
                Console.WriteLine("[1]" + characterClass[0]);
                Console.WriteLine(ClassDes[0]);
                Console.WriteLine("[2]" + characterClass[2]);
                Console.WriteLine(ClassDes[2]);
            }
            if (plRace == "Elf")
            {
                Console.WriteLine("[1]" + characterClass[3]);
                Console.WriteLine(ClassDes[3]);
                Console.WriteLine("\n" + "[2]" + characterClass[1]);
                Console.WriteLine(ClassDes[1]);
            }
            if (plRace == "Human")
            {
                Console.WriteLine("[1]" + characterClass[0]);
                Console.WriteLine(ClassDes[0]);
                Console.WriteLine("[2]" + characterClass[4]);
                Console.WriteLine(ClassDes[4]);
            }
            Choice = ClassChoice();

            return(Choice);
        }
示例#3
0
        //chooe race dialogue
        public static string ChooseRace()
        {
            Console.Clear();
            String Input = "";
            String Human = " Human";
            String Elf   = " Elf";
            String Orc   = " Half Orc";

            Dialogue = "\n Choose your Race: \n [1]" + Human + "\n [2]" + Elf + "\n [3]" + Orc + "\n";
            Animationsand_effects.TypeWriter(Dialogue, "blue");
            Input = Console.ReadLine();
            if (Input == "1")
            {
                Character.Human();
            }
            if (Input == "2")
            {
                Character.Elf();
            }
            if (Input == "3")
            {
                Character.Orc();
            }
            return(Choice);
        }
示例#4
0
 public static string ClassChoice()
 {
     Dialogue = " \n So Which shall Ye Be? \n type in you choice.";
     Animationsand_effects.TypeWriter(Dialogue, "magenta");
     Choice = Console.ReadLine();
     if (Choice == characterClass[0])
     {
         Choice = characterClass[0];
     }
     if (Choice == characterClass[1])
     {
         Choice = characterClass[1];
     }
     if (Choice == characterClass[2])
     {
         Choice = characterClass[2];
     }
     if (Choice == characterClass[3])
     {
         Choice = characterClass[3];
     }
     if (Choice == characterClass[4])
     {
         Choice = characterClass[4];
     }
     Dialogue = " You have Chosen: ";
     Animationsand_effects.TypeWriter(Dialogue, "magenta");
     Console.WriteLine(Choice);
     return(Choice);
 }
示例#5
0
        public static string DoYouChoose()
        {
            Dialogue = " Do you sih to choose this? [1] Yes [2] No";
            Animationsand_effects.TypeWriter(Dialogue, "magenta");
            Choice = Console.ReadLine();

            return(Choice);
        }
示例#6
0
 //ask player for a name, and save it
 public static string PlayerName()
 {
     Dialogue = "\n Brave Patron of the Computer arts! To What do ye call yeself?";
     Animationsand_effects.TypeWriter(Dialogue, "blue");
     characterName = Console.ReadLine();
     Dialogue      = " I bid ye welcome ";
     Animationsand_effects.TypeWriter(Dialogue, "blue");
     Animationsand_effects.Dialog(characterName, "magenta");
     Dialogue = " I wish ye great tidings on your journey ahead...";
     Animationsand_effects.TypeWriter(Dialogue, "blue");
     Console.ReadKey();
     return(characterName);
 }