the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Goal.h"
4
5class PathfinderMob;
6class DoorInfo;
7
8class RestrictOpenDoorGoal : public Goal
9{
10private:
11 PathfinderMob *mob;
12 weak_ptr<DoorInfo> doorInfo;
13
14public:
15 RestrictOpenDoorGoal(PathfinderMob *mob);
16
17 virtual bool canUse();
18 virtual bool canContinueToUse();
19 virtual void start();
20 virtual void stop();
21 virtual void tick();
22};