GrasslandBiom.h 401 B

12345678910111213141516
  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. Noise* zHeightMapNoise(int seed) override;
  13. };