#include #include #include #include #include #include #include "Beatmap.h" #include "BeatmapElements.h" #include "DifficultyManager.h" #include "Modes/Mode.h" #ifndef __BEATMAPMANAGER_H__ #define __BEATMAPMANAGER_H__ using namespace std; typedef vector::iterator beatmapIterator; class BeatmapManager { public: static Beatmap& Current() { return *mBeatmapCurrent; } static void BuildCollection(); static void Load(u32 index); static u32 MapCount(); static u32 SongCount(); static vector& Beatmaps() { return mBeatmaps; } protected: static Beatmap* mBeatmapCurrent; static vector mBeatmaps; }; #endif