aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ZoomLayer.h
blob: 8ec93c8a2701cc0dfae3f342655ea48136096334 (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, 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_t seed, shared_ptr<Layer>sup, int count);
};