Files
LegacyMultiplayerProject/Minecraft.World/PlayGoal.h
DrPerkyLegit 5b19646cc6 init
2026-06-23 01:27:12 -04:00

22 lines
358 B
C++

#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();
};