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

29 lines
563 B
C
Raw Normal View History

#ifndef CLASSICMAPCREATOR_H
#define CLASSICMAPCREATOR_H
2021-10-03 11:23:28 -04:00
#include <set>
#include "tools/mathutils.h"
#include "core/note.h"
#include "classicgraphicsmanager.h"
struct Beatmap
{
2021-10-03 11:23:28 -04:00
std::set<ClassicNote*, NotePtrCompt> 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