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