// // Created by Syméon on 17/08/2017. // #ifndef FEIS_FUMEN_H #define FEIS_FUMEN_H #include #include #include #include #include #include "json.hpp" #include "Note.h" #include "Chart.h" class Fumen { public: explicit Fumen( const std::filesystem::path &path, const std::string &songTitle = "", const std::string &artist = "", const std::string &musicPath = "", const std::string &jacketPath = "", float BPM = 120, float offset = 0 ); void loadFromMemon(std::filesystem::path path); // TODO : implementer ça //void loadFromMemo(std::string path); //void loadFromEve(std::string path); void saveAsMemon(std::filesystem::path path); // TODO : implementer ça //void saveAsMemo(std::string path); //void saveAsEve(std::string path); void autoLoadFromMemon() {loadFromMemon(path);}; void autoSaveAsMemon() {saveAsMemon(path);}; std::map Charts; std::filesystem::path path; std::string songTitle; std::string artist; std::string musicPath; std::string jacketPath; float BPM; float offset; float getChartRuntime(Chart c); }; #endif //FEIS_FUMEN_H