mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 15:27:49 +00:00
20 lines
359 B
C++
20 lines
359 B
C++
#pragma once
|
|
|
|
#include "Goal.h"
|
|
|
|
class EntityHorse;
|
|
|
|
class RunAroundLikeCrazyGoal : public Goal {
|
|
private:
|
|
EntityHorse* horse; // Owner
|
|
double speedModifier;
|
|
double posX, posY, posZ;
|
|
|
|
public:
|
|
RunAroundLikeCrazyGoal(EntityHorse* mob, double speedModifier);
|
|
|
|
bool canUse();
|
|
void start();
|
|
bool canContinueToUse();
|
|
void tick();
|
|
}; |