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

26 lines
432 B
C
Raw Normal View History

2021-10-04 11:30:21 -04:00
#pragma once
2021-10-03 11:23:28 -04:00
#include <set>
#include "tools/mathutils.h"
2021-10-04 11:30:21 -04:00
#include "classicnote.h"
2021-10-04 11:30:21 -04:00
struct Context;
struct Beatmap
{
2021-10-03 11:23:28 -04:00
std::set<ClassicNote*, NotePtrCompt> notes;
microsec visibility_offset;
};
class ClassicMapCreator
{
public:
2021-10-04 11:30:21 -04:00
explicit ClassicMapCreator(const std::shared_ptr<Context>& context);
Beatmap createBeatmap(const std::string& filepath) const;
private:
2021-10-04 11:30:21 -04:00
const std::shared_ptr<Context> _context;
};