mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
20 lines
423 B
C++
20 lines
423 B
C++
|
#include "EffectBootSequence.h"
|
||
|
|
||
|
EffectBootSequence::EffectBootSequence(Hyperion *hyperion, const std::string &script, const Json::Value &args, const unsigned duration_ms) :
|
||
|
BootSequence(),
|
||
|
_hyperion(hyperion),
|
||
|
_script(script),
|
||
|
_args(args),
|
||
|
_duration_ms(duration_ms)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
EffectBootSequence::~EffectBootSequence()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void EffectBootSequence::start()
|
||
|
{
|
||
|
_hyperion->setEffectScript(_script, _args, 0, _duration_ms);
|
||
|
}
|