pitrix/include/effect_cycle.h

24 lines
389 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 = NULL;
uint16_t effect_id = -1;
unsigned long effectSince = 0;
2019-06-07 04:24:16 +00:00
public:
CycleEffect();
~CycleEffect();
void changeEffect();
boolean can_be_shown_with_clock();
boolean clock_as_mask();
void loop();
};
#endif