mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-27 21:39:13 +05:00
23 lines
430 B
C++
23 lines
430 B
C++
#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);
|
|
}; |