6352e8e319
all at once
21 lines
357 B
C++
21 lines
357 B
C++
#ifndef STAR_SOLID_SELECTOR_HPP
|
|
#define STAR_SOLID_SELECTOR_HPP
|
|
|
|
#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;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|