21 lines
402 B
C++
21 lines
402 B
C++
|
#ifndef STAR_MAX_SELECTOR_HPP
|
||
|
#define STAR_MAX_SELECTOR_HPP
|
||
|
|
||
|
#include "StarTerrainDatabase.hpp"
|
||
|
|
||
|
namespace Star {
|
||
|
|
||
|
struct MaxSelector : TerrainSelector {
|
||
|
static char const* const Name;
|
||
|
|
||
|
MaxSelector(Json const& config, TerrainSelectorParameters const& parameters, TerrainDatabase const* database);
|
||
|
|
||
|
float get(int x, int y) const override;
|
||
|
|
||
|
List<TerrainSelectorConstPtr> m_sources;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|