private static void SpecialAttackPiggyBank(Avatar avatar, Vector2D pos)
		{
			switch (avatar.ActivatedSpecialAttack)
			{
			case AvatarAttack.PiggyBankCoinMinefield:
				avatar.PerformAttack(AvatarAttack.PiggyBankCoinMinefield, pos);
				avatar.SpecialAttackAIsActivated = false;
				break;
			case AvatarAttack.PiggyBankPayDay:
				avatar.PerformAttack(AvatarAttack.PiggyBankPayDay, pos);
				avatar.SpecialAttackBIsActivated = false;
				break;
			}
		}
		private static void SpecialAttackPenguin(Avatar avatar, Vector2D pos)
		{
			switch (avatar.ActivatedSpecialAttack)
			{
			case AvatarAttack.PenguinBigFirework:
				avatar.PerformAttack(AvatarAttack.PenguinBigFirework, pos);
				avatar.SpecialAttackAIsActivated = false;
				break;
			case AvatarAttack.PenguinCarpetBombing:
				avatar.PerformAttack(AvatarAttack.PenguinCarpetBombing, pos);
				avatar.SpecialAttackBIsActivated = false;
				break;
			}
		}
		private static void SpecialAttackDragon(Avatar avatar, Vector2D pos)
		{
			switch (avatar.ActivatedSpecialAttack)
			{
			case AvatarAttack.DragonBreathOfFire:
				avatar.PerformAttack(AvatarAttack.DragonBreathOfFire, pos);
				avatar.SpecialAttackAIsActivated = false;
				break;
			case AvatarAttack.DragonAuraCannon:
				avatar.PerformAttack(AvatarAttack.DragonAuraCannon, pos);
				avatar.SpecialAttackBIsActivated = false;
				break;
			}
		}
Example #4
0
        private static void SpecialAttackPiggyBank(Avatar avatar, Vector2D pos)
        {
            switch (avatar.ActivatedSpecialAttack)
            {
            case AvatarAttack.PiggyBankCoinMinefield:
                avatar.PerformAttack(AvatarAttack.PiggyBankCoinMinefield, pos);
                avatar.SpecialAttackAIsActivated = false;
                break;

            case AvatarAttack.PiggyBankPayDay:
                avatar.PerformAttack(AvatarAttack.PiggyBankPayDay, pos);
                avatar.SpecialAttackBIsActivated = false;
                break;
            }
        }
Example #5
0
        private static void SpecialAttackPenguin(Avatar avatar, Vector2D pos)
        {
            switch (avatar.ActivatedSpecialAttack)
            {
            case AvatarAttack.PenguinBigFirework:
                avatar.PerformAttack(AvatarAttack.PenguinBigFirework, pos);
                avatar.SpecialAttackAIsActivated = false;
                break;

            case AvatarAttack.PenguinCarpetBombing:
                avatar.PerformAttack(AvatarAttack.PenguinCarpetBombing, pos);
                avatar.SpecialAttackBIsActivated = false;
                break;
            }
        }
Example #6
0
        private static void SpecialAttackDragon(Avatar avatar, Vector2D pos)
        {
            switch (avatar.ActivatedSpecialAttack)
            {
            case AvatarAttack.DragonBreathOfFire:
                avatar.PerformAttack(AvatarAttack.DragonBreathOfFire, pos);
                avatar.SpecialAttackAIsActivated = false;
                break;

            case AvatarAttack.DragonAuraCannon:
                avatar.PerformAttack(AvatarAttack.DragonAuraCannon, pos);
                avatar.SpecialAttackBIsActivated = false;
                break;
            }
        }