18 lines
298 B
C++
18 lines
298 B
C++
#pragma once
|
|
|
|
#include "StarTerrainDatabase.hpp"
|
|
|
|
namespace Star {
|
|
|
|
struct ConstantSelector : TerrainSelector {
|
|
static char const* const Name;
|
|
|
|
ConstantSelector(Json const& config, TerrainSelectorParameters const& parameters);
|
|
|
|
float get(int x, int y) const override;
|
|
|
|
float m_value;
|
|
};
|
|
|
|
}
|