project-kyoku/include/game/timeline.h

24 lines
366 B
C
Raw Normal View History

#ifndef TIMELINE_H
#define TIMELINE_H
#include "game/mathutils.h"
#include <memory>
#include <vector>
class Note;
2021-06-07 20:19:58 +02:00
class Timeline
{
public:
2021-06-07 20:19:58 +02:00
virtual ~Timeline() = default;
2021-06-08 20:32:36 +02:00
virtual void update() = 0;
2021-06-07 20:19:58 +02:00
virtual void clear() = 0;
2021-06-08 20:32:36 +02:00
virtual microsec currentMusicOffset() const = 0;
virtual void drawVisibleNotes() const = 0;
};
#endif // TIMELINE_H