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 "DoorInteractGoal.h"
4#include "SharedConstants.h"
5
6class BreakDoorGoal : public DoorInteractGoal
7{
8private:
9 static const int DOOR_BREAK_TIME = SharedConstants::TICKS_PER_SECOND * 12;
10
11 int breakTime;
12 int lastBreakProgress;
13
14public:
15 BreakDoorGoal(Mob *mob);
16
17 virtual bool canUse();
18 virtual void start();
19 virtual void stop();
20 virtual bool canContinueToUse();
21 virtual void tick();
22};