2015-09-10 20:30:35 +00:00
|
|
|
#ifndef _DNAMP1_TIMER_HPP_
|
|
|
|
#define _DNAMP1_TIMER_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/DNACommon.hpp"
|
|
|
|
#include "IScriptObject.hpp"
|
|
|
|
#include "Parameters.hpp"
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace DataSpec
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
|
|
|
namespace DNAMP1
|
|
|
|
{
|
|
|
|
struct Timer : IScriptObject
|
|
|
|
{
|
|
|
|
DECL_YAML
|
|
|
|
String<-1> name;
|
|
|
|
Value<float> startTime;
|
|
|
|
Value<float> maxRandomAddition;
|
|
|
|
Value<bool> resetToZero;
|
|
|
|
Value<bool> startImmediately;
|
|
|
|
Value<bool> active;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|