#pragma once #include "TargetGoal.h" class TamableAnimal; class OwnerHurtByTargetGoal : public TargetGoal { private: TamableAnimal* tameAnimal; // Owner of this goal std::weak_ptr ownerLastHurtBy; int timestamp; public: OwnerHurtByTargetGoal(TamableAnimal* tameAnimal); bool canUse(); void start(); };