diff options
Diffstat (limited to 'Minecraft.World/ZoomLayer.h')
| -rw-r--r-- | Minecraft.World/ZoomLayer.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Minecraft.World/ZoomLayer.h b/Minecraft.World/ZoomLayer.h new file mode 100644 index 00000000..f865f088 --- /dev/null +++ b/Minecraft.World/ZoomLayer.h @@ -0,0 +1,18 @@ +#pragma once + +#include "Layer.h" + +class ZoomLayer : public Layer +{ +public: + ZoomLayer(__int64 seedMixup, shared_ptr<Layer> parent); + + virtual intArray getArea(int xo, int yo, int w, int h); + +protected: + int random(int a, int b); + int random(int a, int b, int c, int d); + +public: + static shared_ptr<Layer> zoom(__int64 seed, shared_ptr<Layer>sup, int count); +};
\ No newline at end of file |
