2014-08-28 13:09:47 +00:00
|
|
|
#include "AtmosphereModeler.h"
|
|
|
|
|
|
|
|
#include "MainModelerWindow.h"
|
|
|
|
#include "Scenery.h"
|
|
|
|
#include "AtmosphereDefinition.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
|
|
|
AtmosphereModeler::AtmosphereModeler(MainModelerWindow *main)
|
2014-08-28 13:09:47 +00:00
|
|
|
{
|
2015-08-18 23:17:49 +00:00
|
|
|
prop_daytime = new FloatPropertyBind(main, "atmosphere_daytime", "value", main->getScenery()->getAtmosphere()->propDayTime());
|
2014-08-28 13:09:47 +00:00
|
|
|
}
|
|
|
|
|
2015-08-18 23:17:49 +00:00
|
|
|
AtmosphereModeler::~AtmosphereModeler()
|
2014-08-28 13:09:47 +00:00
|
|
|
{
|
2015-08-18 23:17:49 +00:00
|
|
|
delete prop_daytime;
|
2014-08-28 13:09:47 +00:00
|
|
|
}
|