20 lines
270 B
C++
20 lines
270 B
C++
#pragma once
|
|
|
|
#include "sol/sol.hpp"
|
|
#include "ecs.h"
|
|
|
|
#include <iostream>
|
|
#include <utility>
|
|
|
|
namespace ecs::lua {
|
|
struct LuaComponent : Component {
|
|
// @todo Figure out a more elegant way
|
|
LuaComponent() {}
|
|
|
|
sol::table table;
|
|
};
|
|
|
|
void init(sol::state& lua);
|
|
}
|
|
|