F.E.I.S/Fumen.h

52 lines
986 B
C
Raw Normal View History

2017-08-17 23:41:11 +02:00
//
// Created by Syméon on 17/08/2017.
//
#ifndef FEIS_FUMEN_H
#define FEIS_FUMEN_H
#include <iostream>
#include <map>
#include <set>
#include <fstream>
2017-08-17 23:41:11 +02:00
2019-01-05 00:07:52 +01:00
#include "json.hpp"
2017-08-18 17:42:56 +02:00
#include "Note.h"
#include "Chart.h"
2017-08-18 17:42:56 +02:00
2017-08-17 23:41:11 +02:00
class Fumen {
2017-08-17 23:41:11 +02:00
public:
2019-01-05 00:07:52 +01:00
Fumen(const std::string &folder,
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::string path);
// TODO : implementer ça
//void loadFromMemo(std::string path);
//void loadFromEve(std::string path);
void saveAsMemon(std::string path);
// TODO : implementer ça
//void saveAsMemo(std::string path);
//void saveAsEve(std::string path);
std::map<std::string,Chart> Charts;
2019-01-05 00:07:52 +01:00
std::string folder;
std::string songTitle;
std::string artist;
std::string musicPath;
std::string jacketPath;
float BPM;
float offset;
2017-08-17 23:41:11 +02:00
};
#endif //FEIS_FUMEN_H