1234567891011121314151617181920212223242526 |
- #pragma once
- #include "BiomGenerator.h"
- #include "StaticRegistry.h"
- class GrasslandBiom : public BiomGenerator
- {
- Noise* heightNoise;
- Noise* undergroundDirdNoise;
- Noise* surfaceSandNoise;
- Noise* undergroundGravelNoise;
- // TODO: Noise* anySmallOreNoise;
- // TODO: add water rivers
- public:
- GrasslandBiom();
- ~GrasslandBiom();
- Framework::Either<Block*, int> generateSurfaceBlock(
- int x, int y, int z) override;
- Framework::Either<Block*, int> generateBelowSurfaceBlock(
- int x, int y, int z) override;
- Framework::Either<Block*, int> generateCaveBlock(
- int x, int y, int z) override;
- Noise* zHeightMapNoise() override;
- void setSeed(int seed) override;
- };
|