aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/MoveTowardsRestrictionGoal.h
blob: 859b5ee805c9541fe8b2ca36eb48d13c7f6abf60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "Goal.h"

class MoveTowardsRestrictionGoal : public Goal
{
private:
	PathfinderMob *mob;
	double wantedX, wantedY, wantedZ;
	float speed;

public:
	MoveTowardsRestrictionGoal(PathfinderMob *mob, float speed);

	bool canUse();
	bool canContinueToUse();
	void start();
};