esp32-sk6812/include/Animation/Animation.h

19 lines
247 B
C
Raw Normal View History

2019-12-02 22:42:31 +01:00
#pragma once
#include <cstdint>
#include "Fader.h"
class Animation
{
public:
Animation(Fader *fader)
: m_fader(fader)
{}
virtual void loop(uint64_t frame) = 0;
protected:
Fader *m_fader;
};