aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LargeFeature.h
blob: d2df25a09ec3e6bfe289c5defe0d800453c3c5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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) {}
};