2014-08-28 13:09:47 +00:00
|
|
|
#include "WaterModeler.h"
|
|
|
|
|
|
|
|
#include "MainModelerWindow.h"
|
2015-08-17 20:55:30 +00:00
|
|
|
#include "Scenery.h"
|
|
|
|
#include "TerrainDefinition.h"
|
2015-08-18 23:17:49 +00:00
|
|
|
#include "FloatPropertyBind.h"
|
2014-08-28 13:09:47 +00:00
|
|
|
|
2015-08-18 23:17:49 +00:00
|
|
|
WaterModeler::WaterModeler(MainModelerWindow *main)
|
2014-08-28 13:09:47 +00:00
|
|
|
{
|
2015-08-18 23:17:49 +00:00
|
|
|
prop_water_height = new FloatPropertyBind(main, "water_height", "value", main->getScenery()->getTerrain()->propWaterHeight());
|
2014-08-28 13:09:47 +00:00
|
|
|
}
|
|
|
|
|
2015-08-18 23:17:49 +00:00
|
|
|
WaterModeler::~WaterModeler()
|
2014-08-28 13:09:47 +00:00
|
|
|
{
|
2015-08-18 23:17:49 +00:00
|
|
|
delete prop_water_height;
|
2014-08-28 13:09:47 +00:00
|
|
|
}
|