blob: cec786c6add101ab254f5c60c76c0f4e63f1720d (
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 "StructureFeature.h"
class MineShaftFeature : public StructureFeature
{
public:
static const wstring OPTION_CHANCE;
private:
double chance;
public:
MineShaftFeature();
wstring getFeatureName();
MineShaftFeature(unordered_map<wstring, wstring> options);
protected:
virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat=false);
virtual StructureStart *createStructureStart(int x, int z);
};
|