mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 15:47:46 +00:00
Script Object DNAs
This commit is contained in:
25
DataSpec/DNAMP1/ScriptObjects/Timer.hpp
Normal file
25
DataSpec/DNAMP1/ScriptObjects/Timer.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _DNAMP1_TIMER_HPP_
|
||||
#define _DNAMP1_TIMER_HPP_
|
||||
|
||||
#include "../../DNACommon/DNACommon.hpp"
|
||||
#include "IScriptObject.hpp"
|
||||
#include "Parameters.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
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
|
||||
Reference in New Issue
Block a user