mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
20 lines
426 B
C++
20 lines
426 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <memory>
|
|
|
|
#include "Layer.h"
|
|
|
|
class RiverMixerLayer : public Layer {
|
|
private:
|
|
std::shared_ptr<Layer> biomes;
|
|
std::shared_ptr<Layer> rivers;
|
|
|
|
public:
|
|
RiverMixerLayer(int64_t seed, std::shared_ptr<Layer> biomes,
|
|
std::shared_ptr<Layer> rivers);
|
|
|
|
virtual void init(int64_t seed);
|
|
virtual std::vector<int> getArea(int xo, int yo, int w, int h);
|
|
}; |