neoLegacy/Minecraft.World/ShoreLayer.h
Lord_Cambion a6d35772bb feat: replaceIfNeighborOcean
replaceIfNeighborOcean missing inside shorelayer
2026-05-18 18:53:57 +02:00

11 lines
332 B
C++

#pragma once
#include "Layer.h"
class ShoreLayer : public Layer
{
public:
ShoreLayer(int64_t seed, shared_ptr<Layer> parent, int64_t seedMixup);
virtual intArray getArea(int xo, int yo, int w, int h);
private:
void replaceIfNeighborOcean(intArray& b, intArray& result, int x, int y, int w, int old, int replacement);
};