Add Director, director::CommandList, hk::Goal and fixups

* Simulator and Director are no longer singletons.
This commit is contained in:
2025-01-03 21:22:03 -04:00
parent bf2c73ed29
commit 6beda55971
6 changed files with 108 additions and 27 deletions
+6 -15
View File
@@ -7,24 +7,15 @@ namespace simulator {
class Simulator {
public:
Simulator(const Simulator&) = delete;
void operator=(const Simulator&) = delete;
static Simulator& instance()
{
static Simulator instance;
return instance;
}
void initialize();
void loadScene(scene::Scene::Id sceneId, scene::Scene &scene);
private:
Simulator() = default;
~Simulator() = default;
scene::Scene::Id sceneId;
scene::Scene scene;
void initialize();
void loadScene(Scene::Id sceneId, Scene &scene);
private:
Scene::Id sceneId;
Scene scene;
};
}