2025-01-03 20:02:24 -04:00
|
|
|
#ifndef SIMULATOR_H
|
|
|
|
|
#define SIMULATOR_H
|
|
|
|
|
|
2025-01-03 21:00:01 -04:00
|
|
|
#include <simulator/scene.h>
|
2025-01-03 20:02:24 -04:00
|
|
|
|
|
|
|
|
namespace simulator {
|
|
|
|
|
|
|
|
|
|
class Simulator {
|
|
|
|
|
public:
|
2025-01-03 21:00:01 -04:00
|
|
|
Simulator(const Simulator&) = delete;
|
|
|
|
|
void operator=(const Simulator&) = delete;
|
|
|
|
|
|
|
|
|
|
static Simulator& instance()
|
|
|
|
|
{
|
|
|
|
|
static Simulator instance;
|
|
|
|
|
return instance;
|
|
|
|
|
}
|
2025-01-03 20:02:24 -04:00
|
|
|
|
|
|
|
|
void initialize();
|
2025-01-03 21:00:01 -04:00
|
|
|
void loadScene(scene::Scene::Id sceneId, scene::Scene &scene);
|
2025-01-03 20:02:24 -04:00
|
|
|
|
|
|
|
|
private:
|
2025-01-03 21:00:01 -04:00
|
|
|
Simulator() = default;
|
|
|
|
|
~Simulator() = default;
|
|
|
|
|
|
|
|
|
|
scene::Scene::Id sceneId;
|
|
|
|
|
scene::Scene scene;
|
2025-01-03 20:02:24 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // SIMULATOR_H
|