project-kyoku/modes/classicmode/game/classicmapcreator.h

29 lines
555 B
C
Raw Normal View History

#ifndef CLASSICMAPCREATOR_H
#define CLASSICMAPCREATOR_H
#include <vector>
#include "tools/mathutils.h"
#include "core/note.h"
#include "classicgraphicsmanager.h"
struct Beatmap
{
2021-07-21 14:15:56 -04:00
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