mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-26 15:52:54 +00:00
17 lines
313 B
C++
17 lines
313 B
C++
#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();
|
|
}; |