mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
0537fdc741
Former-commit-id: b8db13f25b93a0007adf613f0310a1cfbb6b8224
19 lines
403 B
C++
19 lines
403 B
C++
#include "EffectBootSequence.h"
|
|
|
|
EffectBootSequence::EffectBootSequence(Hyperion *hyperion, const EffectDefinition &effect, const unsigned duration_ms) :
|
|
BootSequence(),
|
|
_hyperion(hyperion),
|
|
_effect(effect),
|
|
_duration_ms(duration_ms)
|
|
{
|
|
}
|
|
|
|
EffectBootSequence::~EffectBootSequence()
|
|
{
|
|
}
|
|
|
|
void EffectBootSequence::start()
|
|
{
|
|
_hyperion->setEffectScript(_effect.script, _effect.args, 0, _duration_ms);
|
|
}
|