mirror of
https://gitea.murdle.top/murdle/mc-lce.git
synced 2026-03-11 19:39:00 +02: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();
|
|
};
|