project-kyoku/include/timeline.h

20 lines
318 B
C
Raw Normal View History

#ifndef TIMELINE_H
#define TIMELINE_H
#include <SFML/Config.hpp>
#include <memory>
using microsec = sf::Int64;
2021-06-07 20:19:58 +02:00
class Timeline
{
public:
2021-06-07 20:19:58 +02:00
virtual ~Timeline() = default;
2021-06-07 20:19:58 +02:00
virtual void update(const microsec& music_offset) = 0;
virtual void init() = 0;
virtual void clear() = 0;
};
#endif // TIMELINE_H