#ifndef MANTLE_GENERATOR_HPP_
#define MANTLE_GENERATOR_HPP_

#include <Chunk/Chunk.hpp>
#include <GeneratorNode/GeneratorNode.hpp>

class SurvivalWorldGenerator;

/**
 * @brief Handles generation of the mantle.
 */
class MantleGenerator
{
private:
    SurvivalWorldGenerator& worldgen;
    GeneratorNode crystalNode;

public:
    /**
     * @brief Construct the mantle generator.
     */
    MantleGenerator(SurvivalWorldGenerator &worldgen);

    /**
     * @brief Generate the specified chunk.
     */
    void generate(Chunk &chunk);
};

#endif