mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-26 15:28:13 +05:00
21 lines
334 B
C++
21 lines
334 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();
|
|
}; |