diff options
Diffstat (limited to 'Minecraft.World/SitGoal.h')
| -rw-r--r-- | Minecraft.World/SitGoal.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Minecraft.World/SitGoal.h b/Minecraft.World/SitGoal.h new file mode 100644 index 00000000..542ab18c --- /dev/null +++ b/Minecraft.World/SitGoal.h @@ -0,0 +1,18 @@ +#pragma once + +#include "Goal.h" + +class SitGoal : public Goal +{ +private: + TamableAnimal *mob; + bool _wantToSit; + +public: + SitGoal(TamableAnimal *mob); + + bool canUse(); + void start(); + void stop(); + void wantToSit(bool _wantToSit); +};
\ No newline at end of file |
