first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
#include "TargetGoal.h"
class TamableAnimal;
class OwnerHurtTargetGoal : public TargetGoal
{
private:
TamableAnimal *tameAnimal; // Owner of this goal
weak_ptr<Mob> ownerLastHurt;
public:
OwnerHurtTargetGoal(TamableAnimal *tameAnimal);
bool canUse();
void start();
};