mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-30 01:12:54 +00:00
20 lines
315 B
C++
20 lines
315 B
C++
#pragma once
|
|
|
|
#include "Goal.h"
|
|
|
|
class Mob;
|
|
|
|
class RandomLookAroundGoal : public Goal {
|
|
private:
|
|
Mob* mob;
|
|
double relX, relZ;
|
|
int lookTime;
|
|
|
|
public:
|
|
RandomLookAroundGoal(Mob* mob);
|
|
|
|
virtual bool canUse();
|
|
virtual bool canContinueToUse();
|
|
virtual void start();
|
|
virtual void tick();
|
|
}; |