Example #1
0
        public static void Main(string[] args)
        {
            Console.WriteLine("What is your name?");
            string    name   = Console.ReadLine();
            Character player = new Character();

            player.name = name;
            player.Rouge();
            Console.WriteLine("Hello {0} the {1}", player.name, player.clas);
            Quit();
        }
Example #2
0
 public void Rouge()
 {
     clas = "Rouge";
     Console.WriteLine(clas);
     Console.WriteLine("rouge class");
     Console.WriteLine("exp: {0}", exp);
     hp   = 25;
     chp  = 25;
     m    = 15;
     cm   = 15;
     inte = 10;
     str  = 15;
     def  = 10;
     dex  = 20;
     agi  = 25;
 }
Example #3
0
 public static void Quit()
 {
     Console.WriteLine("press any key to exit");
     Console.ReadLine();
 }