mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 08:43:59 +00:00
25 lines
529 B
C++
25 lines
529 B
C++
#pragma once
|
|
#include "../../Level/ChunkSource.h"
|
|
|
|
class Level;
|
|
|
|
class LargeFeature {
|
|
public:
|
|
static const std::wstring STRONGHOLD;
|
|
|
|
protected:
|
|
int radius;
|
|
Random* random;
|
|
Level* level;
|
|
|
|
public:
|
|
LargeFeature();
|
|
virtual ~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) {}
|
|
}; |