mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-01 14:23:49 +00:00
17 lines
414 B
C++
17 lines
414 B
C++
#pragma once
|
|
|
|
#include "NearestAttackableTargetGoal.h"
|
|
|
|
class TamableAnimal;
|
|
|
|
class NonTameRandomTargetGoal : public NearestAttackableTargetGoal {
|
|
private:
|
|
TamableAnimal* tamableMob; // Owner of this goal
|
|
|
|
public:
|
|
NonTameRandomTargetGoal(TamableAnimal* mob,
|
|
const std::type_info& targetType,
|
|
int randomInterval, bool mustSee);
|
|
|
|
bool canUse();
|
|
}; |