36 lines
589 B
C++
36 lines
589 B
C++
#ifndef SIMULATOR_H
|
|
#define SIMULATOR_H
|
|
|
|
#include <config.h>
|
|
#include <spinscale/component.h>
|
|
#include <simulator/scene.h>
|
|
|
|
namespace smo {
|
|
|
|
class Mind;
|
|
class ComponentThread;
|
|
|
|
namespace simulator {
|
|
|
|
class Simulator
|
|
: public PuppetComponent
|
|
{
|
|
public:
|
|
Simulator(Mind &parent, const std::shared_ptr<ComponentThread> &thread)
|
|
: PuppetComponent(parent, thread)
|
|
{}
|
|
|
|
~Simulator() = default;
|
|
|
|
void initialize();
|
|
void loadScene(Scene::Id sceneId, Scene &scene);
|
|
|
|
private:
|
|
Scene::Id sceneId;
|
|
Scene scene;
|
|
};
|
|
|
|
} // namespace simulator
|
|
} // namespace smo
|
|
|
|
#endif // SIMULATOR_H
|