first commit
This commit is contained in:
18
Minecraft.World/MoveTowardsRestrictionGoal.h
Normal file
18
Minecraft.World/MoveTowardsRestrictionGoal.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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();
|
||||
};
|
||||
Reference in New Issue
Block a user