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 Animal;
6
7class FollowParentGoal : public Goal
8{
9private:
10 Animal *animal; // Owner of this goal
11 weak_ptr<Animal> parent;
12 double speedModifier;
13 int timeToRecalcPath;
14
15public:
16 FollowParentGoal(Animal *animal, double speedModifier);
17
18 virtual bool canUse();
19 virtual bool canContinueToUse();
20 virtual void start();
21 virtual void stop();
22 virtual void tick();
23};