2019-05-30 09:12:40 +00:00
|
|
|
#ifndef effect_confetti_H
|
|
|
|
#define effect_confetti_H
|
|
|
|
|
|
|
|
#include "Effect.h"
|
|
|
|
#include "my_fastled.h"
|
|
|
|
|
|
|
|
class ConfettiEffect : public Effect {
|
2019-06-19 20:17:10 +00:00
|
|
|
protected:
|
|
|
|
virtual CRGB _getColor();
|
|
|
|
public:
|
2019-05-30 09:12:40 +00:00
|
|
|
void loop();
|
|
|
|
boolean can_be_shown_with_clock();
|
|
|
|
};
|
|
|
|
|
2019-06-19 20:17:10 +00:00
|
|
|
class RandomConfettiEffect : public ConfettiEffect {
|
|
|
|
protected:
|
|
|
|
CRGB _getColor() override;
|
|
|
|
};
|
|
|
|
|
2019-05-30 09:12:40 +00:00
|
|
|
#endif
|