Initial commit
This commit is contained in:
commit
b0e73a61aa
16345 files changed
+3104967
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "TargetGoal.h"
|
||||
|
||||
class TamableAnimal;
|
||||
|
||||
class OwnerHurtByTargetGoal : public TargetGoal
|
||||
{
|
||||
private:
|
||||
TamableAnimal *tameAnimal; // Owner of this goal
|
||||
weak_ptr<Mob> ownerLastHurtBy;
|
||||
|
||||
public:
|
||||
OwnerHurtByTargetGoal(TamableAnimal *tameAnimal);
|
||||
|
||||
bool canUse();
|
||||
void start();
|
||||
};
|
||||
Reference in new issue
Block a user