This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
16 lines
339 B
C++
16 lines
339 B
C++
#pragma once
|
|
|
|
#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 intArray getArea(int xo, int yo, int w, int h);
|
|
}; |