public PetManager(WowUnit pet, TimeSpan healPetCooldown, CastMendPetFunction castMendPetFunction, CastCallPetFunction castCallPetFunction, CastRevivePetFunction castRevivePetFunction) { Pet = pet; HealPetCooldown = healPetCooldown; CastMendPet = castMendPetFunction; CastCallPet = castCallPetFunction; CastRevivePet = castRevivePetFunction; }
public PetManager(WowInterface wowInterface, TimeSpan healPetCooldown, CastMendPetFunction castMendPetFunction, CastCallPetFunction castCallPetFunction, CastRevivePetFunction castRevivePetFunction) { WowInterface = wowInterface; HealPetCooldown = healPetCooldown; CastMendPet = castMendPetFunction; CastCallPet = castCallPetFunction; CastRevivePet = castRevivePetFunction; CallPetEvent = new TimegatedEvent(TimeSpan.FromSeconds(8)); }