public void BehemothWins(Hunter hunter)
 {
     if (hunter.health < 0)
     {
         Console.WriteLine("Devastatation!");
     }
     Console.WriteLine($"YOU HAVE LOST! Behemoth slained {hunter.GetType().Name}");
 }
        public void Attack(Hunter hunter, IBehemoth behemoth)
        {
            while (hunter.health > 0 && behemoth.health > 0)
            {
                Console.WriteLine("Pick 1-4 options: \n 1 - Meele Weapon Attack\n 2 - Range Weapon\n 3 - Desperate Meele Attack \n 4 - Desperate Range Attack ");
                string pick = Console.ReadLine();


                if (pick == "")
                {
                    Console.WriteLine("Enter options from 1 - 4: ");
                }
                else
                {
                    switch (pick)
                    {
                    case "1":
                        hunter.MeleeWeaponAttack(meeleWeapon, behemoth.BehemothType);
                        behemoth.health -= 20;
                        HuntStatus(hunter, behemoth);
                        break;

                    case "2":
                        behemoth.BehemothBreath();
                        hunter.RangeWeaponMiss(rangeWeapon, behemoth.BehemothType);
                        hunter.health -= 10;
                        HuntStatus(hunter, behemoth);
                        break;

                    case "3":
                        behemoth.BehemothStomp();
                        hunter.MeleeWeaponMiss(meeleWeapon, behemoth.BehemothType);
                        hunter.health -= 15;
                        HuntStatus(hunter, behemoth);
                        break;

                    case "4":
                        hunter.RangeWeaponAttack(rangeWeapon, behemoth.BehemothType);
                        behemoth.health -= 30;
                        behemoth.BehemothStomp();
                        hunter.health -= 15;
                        HuntStatus(hunter, behemoth);
                        break;


                    default:
                        Console.WriteLine("Enter options from 1 - 4: ");
                        break;
                    }
                }
            }
        }
 public void HuntResult(Hunter hunter, IBehemoth behemoth)
 {
     if (hunter.health <= 0 && behemoth.health <= 0)
     {
         Console.WriteLine($"Hunter and Behemoth died of injuries!");
     }
     else if (hunter.health <= 0)
     {
         BehemothWins(hunter);
     }
     else
     {
         HunterWins(behemoth);
     }
 }
        static void Main()
        {
            IMeleeWeapon MeleeWeapon = Generator.MeleeWeapon();
            IRangeWeapon RangeWeapon = Generator.RangeWeapon();

            Hunter hunter = Generator.MakeHunter();
            GearUp gearUp = Generator.ReadyGearUp();

            gearUp.HuntGearUp();

            // Method DI
            hunter.EquipMeleeWeapon(new MeleeWeapon());
            hunter.EquipRangeWeapon(new RangeWeapon());

            IBehemoth behemoth = Generator.MakeBehemoth(gearUp.behemothType);

            IHunt Hunt = Generator.Hunt(gearUp.meeleWeapon, gearUp.rangeWeapon);

            Hunt.Attack(hunter, behemoth);

            Hunt.HuntResult(hunter, behemoth);

            Console.ReadKey();
        }
 public void HuntStatus(Hunter hunter, IBehemoth behemoth)
 {
     Console.WriteLine($"|Hunter HP: {hunter.health} using meele weapon: {meeleWeapon}\n& range weapon: {rangeWeapon} \n|Behemoth HP: {behemoth.health}");
 }