aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/RestrictSunGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/RestrictSunGoal.h')
-rw-r--r--Minecraft.World/RestrictSunGoal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Minecraft.World/RestrictSunGoal.h b/Minecraft.World/RestrictSunGoal.h
new file mode 100644
index 00000000..bf89aeef
--- /dev/null
+++ b/Minecraft.World/RestrictSunGoal.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "Goal.h"
+
+class RestrictSunGoal : public Goal
+{
+private:
+ PathfinderMob *mob;
+
+public:
+ RestrictSunGoal(PathfinderMob *mob);
+
+ bool canUse();
+ void start();
+ void stop();
+}; \ No newline at end of file