You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
555 B
C++

#ifndef CLASSICMAPCREATOR_H
#define CLASSICMAPCREATOR_H
#include <vector>
#include "tools/mathutils.h"
#include "core/note.h"
#include "classicgraphicsmanager.h"
struct Beatmap
{
std::vector<ClassicNote*> notes;
microsec visibility_offset;
};
class ClassicMapCreator
{
public:
explicit ClassicMapCreator(const std::shared_ptr<ClassicGraphicsManager>& manager);
Beatmap createBeatmap(const std::string& filepath) const;
private:
const std::shared_ptr<ClassicGraphicsManager> _graphics_manager;
};
#endif // CLASSICMAPCREATOR_H