Exemplo n.º 1
0
 public static void Train()
 {
     Pony my_first_poney = new Pony("Jacqueline", 100, 100, 42, Pony.PonyColor.Applejack);
     my_first_poney.Name = "Jacqueline";
     my_first_poney.Pv = 100;
     my_first_poney.Pv_max = 100;
     my_first_poney.Age = 42;
     my_first_poney.Color = Pony.PonyColor.Applejack;
     my_first_poney.Talk();
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            #if PONY

             Pony Left = new Pony("Star Wars",42,100,100, Pony.PonyColor.Applejack);
             Pony Right = new Pony("Pitbull", 42, 100, 100,Pony.PonyColor.PinkiePie);

             Attack attack_1 = new Attack("Boulouloubi",10,50,10,100);
             Attack attack_2 = new Attack("Bouloulouba",20,60,10,100);

             Arena arena = new Arena(Left,Right);

            Application.Run(new Form1(arena));
            #else
            Application.Run(new Form1());
            #endif
        }