16 lines
196 B
C
16 lines
196 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "Goal.h"
|
||
|
|
|
||
|
|
class RestrictSunGoal : public Goal
|
||
|
|
{
|
||
|
|
private:
|
||
|
|
PathfinderMob *mob;
|
||
|
|
|
||
|
|
public:
|
||
|
|
RestrictSunGoal(PathfinderMob *mob);
|
||
|
|
|
||
|
|
bool canUse();
|
||
|
|
void start();
|
||
|
|
void stop();
|
||
|
|
};
|