mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-29 08:23:38 +00:00
22 lines
478 B
C++
22 lines
478 B
C++
#pragma once
|
|
|
|
#include "StructureFeature.h"
|
|
|
|
class MineShaftFeature : public StructureFeature {
|
|
public:
|
|
static const std::wstring OPTION_CHANCE;
|
|
|
|
private:
|
|
double chance;
|
|
|
|
public:
|
|
MineShaftFeature();
|
|
|
|
std::wstring getFeatureName();
|
|
|
|
MineShaftFeature(std::unordered_map<std::wstring, std::wstring> options);
|
|
|
|
protected:
|
|
virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat = false);
|
|
virtual StructureStart* createStructureStart(int x, int z);
|
|
}; |