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.
project-kyoku/modes/classicmode/game/classicmapcreator.h

29 lines
563 B
C++

#ifndef CLASSICMAPCREATOR_H
#define CLASSICMAPCREATOR_H
#include <set>
#include "tools/mathutils.h"
#include "core/note.h"
#include "classicgraphicsmanager.h"
struct Beatmap
{
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