19 lines
247 B
C
19 lines
247 B
C
|
#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;
|
||
|
};
|