33 lines
580 B
C++
33 lines
580 B
C++
#ifndef SIMULATOR_H
|
|
#define SIMULATOR_H
|
|
|
|
#include <config.h>
|
|
#include <spinscale/puppetApplication.h>
|
|
#include <spinscale/component.h>
|
|
#include <simulator/scene.h>
|
|
|
|
namespace smo {
|
|
|
|
class Mind;
|
|
|
|
namespace simulator {
|
|
|
|
class Simulator
|
|
: public sscl::PuppetComponent
|
|
{
|
|
public:
|
|
Simulator(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &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
|