20 lines
318 B
C++
20 lines
318 B
C++
#ifndef TIMELINE_H
|
|
#define TIMELINE_H
|
|
|
|
#include <SFML/Config.hpp>
|
|
#include <memory>
|
|
|
|
using microsec = sf::Int64;
|
|
|
|
class Timeline
|
|
{
|
|
public:
|
|
virtual ~Timeline() = default;
|
|
|
|
virtual void update(const microsec& music_offset) = 0;
|
|
virtual void init() = 0;
|
|
virtual void clear() = 0;
|
|
};
|
|
|
|
#endif // TIMELINE_H
|