aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ZoomLayer.h
blob: f865f0886ca6abb4d2f17c44473ca1966a1393a6 (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 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);
};