Program Listing for File plasmaanimation.h¶
↰ Return to documentation for file (src/animation/plasmaanimation.h
)
#ifndef PLASMAANIMATION_H
#define PLASMAANIMATION_H
#include "animation.h"
namespace PixelMaestro {
class PlasmaAnimation : public Animation {
public:
explicit PlasmaAnimation(Section& section);
~PlasmaAnimation() = default;
float get_resolution() const;
float get_size() const;
void map();
void set_resolution(float resolution);
void set_size(float size);
void update();
private:
float resolution_ = 32.0;
float size_ = 4.0;
};
}
#endif // PLASMAANIMATION_H