aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LargeFeature.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/LargeFeature.h')
-rw-r--r--Minecraft.World/LargeFeature.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Minecraft.World/LargeFeature.h b/Minecraft.World/LargeFeature.h
new file mode 100644
index 00000000..d2df25a0
--- /dev/null
+++ b/Minecraft.World/LargeFeature.h
@@ -0,0 +1,23 @@
+#pragma once
+#include "ChunkSource.h"
+
+class Level;
+
+class LargeFeature
+{
+public:
+ static const wstring STRONGHOLD;
+protected:
+ int radius;
+ Random *random;
+ Level *level;
+
+public:
+ LargeFeature();
+ ~LargeFeature();
+
+ virtual void apply(ChunkSource *ChunkSource, Level *level, int xOffs, int zOffs, byteArray blocks);
+
+protected:
+ virtual void addFeature(Level *level, int x, int z, int xOffs, int zOffs, byteArray blocks) {}
+}; \ No newline at end of file