first commit
This commit is contained in:
20
Minecraft.World/RandomStrollGoal.h
Normal file
20
Minecraft.World/RandomStrollGoal.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "Goal.h"
|
||||
|
||||
class PathfinderMob;
|
||||
|
||||
class RandomStrollGoal : public Goal
|
||||
{
|
||||
private:
|
||||
PathfinderMob *mob;
|
||||
double wantedX, wantedY, wantedZ;
|
||||
float speed;
|
||||
|
||||
public:
|
||||
RandomStrollGoal(PathfinderMob *mob, float speed);
|
||||
|
||||
virtual bool canUse();
|
||||
virtual bool canContinueToUse();
|
||||
virtual void start();
|
||||
};
|
||||
Reference in New Issue
Block a user