Streamlined library and reworked the way runtime components work
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
namespace ecs::lua {
|
||||
struct Wrapper : Component {
|
||||
// @todo Figure out a more elegant way
|
||||
Wrapper(sol::table _table) : Component(ComponentID::id<Wrapper>), table(_table) {}
|
||||
Wrapper() : Component(ComponentID::id<Wrapper>) {}
|
||||
Wrapper() {}
|
||||
|
||||
sol::table table;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user