aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PlayGoal.h
blob: 0c927d76ce78af669564e1fd040cba0f5831a985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "Goal.h"

class PlayGoal : public Goal
{
private:
	Villager *mob;
	weak_ptr<LivingEntity> followFriend;
	double speedModifier;
	double wantedX, wantedY, wantedZ;
	int playTime;

public:
	PlayGoal(Villager *mob, double speedModifier);

	virtual bool canUse();
	virtual bool canContinueToUse();
	virtual void start();
	virtual void stop();
	virtual void tick();
};