aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/NonTameRandomTargetGoal.h
blob: 8adba7df7312b11f7e537f1de2a3edfca93c43a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
};