aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ZoomLayer.h
blob: 76d41a4e4071e8f4a9bee37f057f95358a7b8c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "Layer.h"

class ZoomLayer : public Layer
{
public:
	ZoomLayer(int64_t seedMixup, std::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 std::shared_ptr<Layer> zoom(int64_t seed, std::shared_ptr<Layer>sup, int count);
};