mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-01 13:12:54 +00:00
17 lines
275 B
C++
17 lines
275 B
C++
#pragma once
|
|
|
|
#include "TargetGoal.h"
|
|
|
|
class HurtByTargetGoal : public TargetGoal {
|
|
private:
|
|
bool alertSameType;
|
|
std::shared_ptr<Mob> oldHurtByMob;
|
|
|
|
public:
|
|
HurtByTargetGoal(Mob* mob, bool alertSameType);
|
|
|
|
bool canUse();
|
|
void start();
|
|
void tick();
|
|
};
|