mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 11:53:36 +00:00
24 lines
547 B
C++
24 lines
547 B
C++
#pragma once
|
|
|
|
#include <format>
|
|
#include <string>
|
|
#include <vector>
|
|
// using namespace std;
|
|
|
|
class LevelGenerationOptions;
|
|
|
|
class LevelGenerators {
|
|
private:
|
|
std::vector<LevelGenerationOptions*> m_levelGenerators;
|
|
|
|
public:
|
|
LevelGenerators();
|
|
|
|
void addLevelGenerator(const std::string& displayName,
|
|
LevelGenerationOptions* generator);
|
|
void removeLevelGenerator(LevelGenerationOptions* generator);
|
|
|
|
std::vector<LevelGenerationOptions*>* getLevelGenerators() {
|
|
return &m_levelGenerators;
|
|
}
|
|
}; |