pitrix/include/effect_cycle.h

24 lines
384 B
C
Raw Normal View History

#ifndef effect_cycle_H
#define effect_cycle_H
#include "Effect.h"
#include "effects.h"
class CycleEffect : public Effect {
2019-06-07 04:24:16 +00:00
private:
Effect* effect;
uint16_t effect_id = -1;
unsigned long effectSince = 0;
2019-06-07 04:24:16 +00:00
public:
void changeEffect();
void start();
void stop();
boolean can_be_shown_with_clock();
boolean clock_as_mask();
void loop();
};
#endif