Esempio n. 1
0
        static void Main(string[] args)
        {
            string[] Storm      = new string[10];
            int      stormIndex = 0;

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine(Storm[stormIndex]);
                stormIndex++;
            }


            Storm storm1 = new Storm("wind", false, "Zul'rajas", "Seoul");

            Console.WriteLine(storm1.Announce());

            Pupil pupil1 = new Pupil("Mezil-kree", "Suwon");

            Console.WriteLine((pupil1.CastWindStorm()).Announce());

            Mage mage1 = new Mage("Gul'dan", "Masan");

            Console.WriteLine((mage1.CastRainStorm()).Announce());

            Archmage archmage1 = new Archmage("Nielas Aran", "Jejudo");

            Console.WriteLine((archmage1.CastRainStorm()).Announce());
            Console.WriteLine((archmage1.CastLightningStorm()).Announce());
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Storm storm = new Storm("wind", false, "Zul'rajas");

            Console.WriteLine(storm.Announce());

            Pupil pupil = new Pupil("Mezil-kree");

            Storm storm2 = pupil.CastWindStorm();

            Console.WriteLine(storm2.Announce());

            Mage mage = new Mage("Gul’dan");

            var temp = mage.CastRainStorm();

            Console.WriteLine(temp.Announce());

            Archmage archmage = new Archmage("Nielas Aran");
            var      temp1    = archmage.CastRainStorm();
            var      temp2    = archmage.CastLightningStorm();

            Console.WriteLine(temp1.Announce());
            Console.WriteLine(temp2.Announce());
        }
Esempio n. 3
0
        static void Main(string[] args)
        {
            Storm storm = new Storm("wind", false, "Zul'rajas");

            Console.WriteLine(storm.Announce());

            Pupil pupil  = new Pupil("Mezil-kree");
            Storm storm2 = pupil.CastWindStorm();

            Console.WriteLine(storm2.Announce());

            Mage  mage   = new Mage("Gul’dan");
            Storm storm3 = mage.CastRainStorm();

            Console.WriteLine(storm3.Announce());

            Archmage archmage = new Archmage("Nielas Aran");
            Storm    storm4   = archmage.CastRainStorm();
            Storm    storm5   = archmage.CastLightningStorm();

            Console.WriteLine(storm4.Announce());
            Console.WriteLine(storm5.Announce());

            // Storm[] storms = new Storm[5];
            // int stormsIndex = 0;
            // storms[stormsIndex] = new Storm("wind", false, "Zul'rajas");
            // Console.WriteLine(storms[stormsIndex].Announce());

            // stormsIndex++;
            // for(int i = 0; i<=storms.Length; i++){
            //   Console.WriteLine(storms[i].Announce());
            // }
        }
Esempio n. 4
0
        static void Main(string[] args)
        {
            Storm c1 = new Storm("Wind", false, "Zul' Rajas");

            Pupil p1  = new Pupil("Mezil-kree");
            Storm p11 = p1.CastWindStorm();

            Console.WriteLine(p11.Announce());

            Mage  m1  = new Mage("Gul'dan");
            Storm m11 = m1.CastRainStorm();

            Console.WriteLine(m11.Announce());

            Archmage a1  = new Archmage("Nielas Aran");
            Storm    aa1 = a1.CastLightningStorm();

            Console.WriteLine(aa1.Announce());
        }