osb/source/game/terrain/StarFlatSurfaceSelector.hpp
2023-06-20 14:33:09 +10:00

23 lines
416 B
C++

#ifndef STAR_FLAT_SURFACE_SELECTOR_HPP
#define STAR_FLAT_SURFACE_SELECTOR_HPP
#include "StarTerrainDatabase.hpp"
namespace Star {
struct FlatSurfaceSelector : TerrainSelector {
static char const* const Name;
FlatSurfaceSelector(Json const& config, TerrainSelectorParameters const& parameters);
float get(int x, int y) const override;
float surfaceLevel;
float adjustment;
float flip;
};
}
#endif