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