24 lines
366 B
C++
24 lines
366 B
C++
#ifndef TIMELINE_H
|
|
#define TIMELINE_H
|
|
|
|
#include "game/mathutils.h"
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
class Note;
|
|
|
|
class Timeline
|
|
{
|
|
public:
|
|
virtual ~Timeline() = default;
|
|
|
|
virtual void update() = 0;
|
|
virtual void clear() = 0;
|
|
|
|
virtual microsec currentMusicOffset() const = 0;
|
|
virtual void drawVisibleNotes() const = 0;
|
|
};
|
|
|
|
#endif // TIMELINE_H
|