Ejemplo n.º 1
0
        public static void doWork()
        {
            Konoha team10 = new Konoha();

            team10.MakeTeam("Asuma", "Choji", "Ino", "Shikamaru");

            Taijustsu bukijutsu = new Taijustsu();

            bukijutsu.useChakra("name");


            if (team10.leader == "ASUMA")
            {
                RankS teamAsuma = new RankS();
                teamAsuma.acceptMission();
                Taijustsu asuma = new Taijustsu();
                asuma.useChakra("Asuma");
            }

            Personnel.attack();

            Taijustsu hidanBukijutsu = new Taijustsu();

            hidanBukijutsu.useChakra("Hidan");

            Fire asumaFire = new Fire();

            asumaFire.useChakra("Asuma");

            Personnel.isFighting("string");


            Shadow.ShadowNeckBinding();

            Kunoichi ino = new Kunoichi();

            ino.controlChakra("Ino");

            Personnel hidan       = new Personnel();
            Personnel kakuzu      = new Personnel();
            Akatsuki  hidanAgain  = new Akatsuki();
            Akatsuki  kakuzuAgain = new Akatsuki();



            hidan.Speak("Hidan");
            kakuzu.Speak("Kakuzu");

            Taijustsu.ChakraBlades();

            hidanAgain.Speak("hidan");
            kakuzuAgain.Speak("Kakuzu");

            Mission newMission = new Mission();

            newMission.getMission();
            RankD.acceptMission();
        }
Ejemplo n.º 2
0
        public static void attack()
        {
            Console.WriteLine("Who should attack first?");
            string firstAttack = Console.ReadLine().ToUpper();

            if (firstAttack == "ASUMA")
            {
                Konoha.shortRangeAttack();
            }
            else if (firstAttack == "KAKUZU")
            {
                Console.WriteLine("Kakuzu is annoyed and lets Hidan do the fighting.");
            }

            else
            {
                Console.WriteLine("InoShikaCho tried to attack first and put Asuma in danger because Hidan is immortal!");
            }
        }