summary refs log tree commit diff stats
path: root/src/components/automatable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/automatable.h')
-rw-r--r--src/components/automatable.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/components/automatable.h b/src/components/automatable.h deleted file mode 100644 index d30340a..0000000 --- a/src/components/automatable.h +++ /dev/null
@@ -1,25 +0,0 @@
1#ifndef AUTOMATABLE_H_3D519131
2#define AUTOMATABLE_H_3D519131
3
4#include "component.h"
5#include <sol.hpp>
6#include <memory>
7
8class AutomatableComponent : public Component {
9public:
10
11 std::unique_ptr<sol::thread> runner;
12 std::unique_ptr<sol::coroutine> behavior;
13
14 sol::environment origBehavior;
15
16 /**
17 * If this flag is disabled, the entity will be ignored by the automating
18 * system.
19 *
20 * @managed_by RealizingSystem
21 */
22 bool active = false;
23};
24
25#endif /* end of include guard: AUTOMATABLE_H_3D519131 */