mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-05-09 23:27:28 +00: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();
|
|
};
|