Program Listing for File sparkleanimation.h¶
↰ Return to documentation for file (src/animation/sparkleanimation.h
)
#ifndef SPARKLEANIMATION_H
#define SPARKLEANIMATION_H
#include "animation.h"
namespace PixelMaestro {
class SparkleAnimation : public Animation {
public:
explicit SparkleAnimation(Section& section);
~SparkleAnimation() = default;
uint8_t get_threshold() const;
void set_threshold(uint8_t threshold);
void map();
void update();
private:
uint8_t threshold_ = 25;
};
}
#endif // SPARKLEANIMATION_H