22 lines
344 B
C++
22 lines
344 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() = 0;
|
|
virtual void init() = 0;
|
|
virtual void clear() = 0;
|
|
|
|
virtual microsec currentMusicOffset() const = 0;
|
|
};
|
|
|
|
#endif // TIMELINE_H
|