mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-26 00:08:11 +05:00
18 lines
252 B
C++
18 lines
252 B
C++
#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();
|
|
};
|