first commit
This commit is contained in:
16
Minecraft.World/NonTameRandomTargetGoal.h
Normal file
16
Minecraft.World/NonTameRandomTargetGoal.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "NearestAttackableTargetGoal.h"
|
||||
|
||||
class TamableAnimal;
|
||||
|
||||
class NonTameRandomTargetGoal : public NearestAttackableTargetGoal
|
||||
{
|
||||
private:
|
||||
TamableAnimal *tamableMob; // Owner of this goal
|
||||
|
||||
public:
|
||||
NonTameRandomTargetGoal(TamableAnimal *mob, const type_info& targetType, float within, int randomInterval, bool mustSee);
|
||||
|
||||
bool canUse();
|
||||
};
|
||||
Reference in New Issue
Block a user