aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PlayGoal.h
blob: a1b1a291242ca1da71b56b56cf5e30dc4b763b4a (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<Mob> followFriend;
	float speed;
	double wantedX, wantedY, wantedZ;
	int playTime;

public:
	PlayGoal(Villager *mob, float speed);

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