first commit
This commit is contained in:
17
Minecraft.World/HurtByTargetGoal.h
Normal file
17
Minecraft.World/HurtByTargetGoal.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "TargetGoal.h"
|
||||
|
||||
class HurtByTargetGoal : public TargetGoal
|
||||
{
|
||||
private:
|
||||
bool alertSameType;
|
||||
shared_ptr<Mob> oldHurtByMob;
|
||||
|
||||
public:
|
||||
HurtByTargetGoal(Mob *mob, bool alertSameType);
|
||||
|
||||
bool canUse();
|
||||
void start();
|
||||
void tick();
|
||||
};
|
||||
Reference in New Issue
Block a user