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

20 lines
341 B
C++

#pragma once
#include "Goal.h"
class MoveTowardsTargetGoal : public Goal
{
private:
PathfinderMob *mob;
weak_ptr<Mob> target;
double wantedX, wantedY, wantedZ;
float speed, within;
public:
MoveTowardsTargetGoal(PathfinderMob *mob, float speed, float within);
bool canUse();
bool canContinueToUse();
void stop();
void start();
};