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

26 lines
432 B
C
Raw Normal View History

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