v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
20
source/game/terrain/StarConstantSelector.hpp
Normal file
20
source/game/terrain/StarConstantSelector.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue