2019-05-29 22:49:54 +00:00
|
|
|
#ifndef effect_cycle_H
|
|
|
|
#define effect_cycle_H
|
|
|
|
|
|
|
|
#include "Effect.h"
|
|
|
|
#include "effects.h"
|
|
|
|
|
|
|
|
class CycleEffect : public Effect {
|
|
|
|
private:
|
|
|
|
Effect* effect;
|
2019-06-04 03:56:33 +00:00
|
|
|
uint16_t effect_id = -1;
|
2019-05-30 09:26:13 +00:00
|
|
|
unsigned long effectSince = 0;
|
2019-05-29 22:49:54 +00:00
|
|
|
public:
|
|
|
|
void changeEffect();
|
2019-05-31 03:46:17 +00:00
|
|
|
void start();
|
|
|
|
void stop();
|
2019-05-29 22:49:54 +00:00
|
|
|
|
|
|
|
boolean can_be_shown_with_clock();
|
|
|
|
boolean clock_as_mask();
|
|
|
|
|
|
|
|
void loop();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|