GrasslandBiom.h 482 B

1234567891011121314151617
  1. #pragma once
  2. #include "BiomGenerator.h"
  3. #include "StaticRegistry.h"
  4. class GrasslandBiom : public BiomGenerator
  5. {
  6. Noise* heightNoise;
  7. public:
  8. GrasslandBiom();
  9. ~GrasslandBiom();
  10. Framework::Either<Block*, int> generateSurfaceBlock(int x, int y, int z) override;
  11. Framework::Either<Block*, int> generateBelowSurfaceBlock(int x, int y, int z) override;
  12. Framework::Either<Block*, int> generateCaveBlock(int x, int y, int z) override;
  13. Noise* zHeightMapNoise(int seed) override;
  14. };