summary refs log tree commit diff stats
path: root/src/components/runnable.h
blob: 1b994fbdfc83a42feb73cc8b57b817a8e90dcf4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef AUTOMATABLE_H_3D519131
#define AUTOMATABLE_H_3D519131

#include "component.h"
#include <sol.hpp>
#include <memory>

class RunnableComponent : public Component {
public:

  std::unique_ptr<sol::thread> runner;
  std::unique_ptr<sol::coroutine> callable;
};

#endif /* end of include guard: AUTOMATABLE_H_3D519131 */