ScriptSystem that executes lua scripts attached to Entities through LuaComponents.
Helper functions are also provided to easily register new types and functions with the lua state.
These are defined in the kengine::lua namespace.
template<typename T>
void registerType(EntityManager & em);Registers a reflectible type with the lua state.
template<typename F>
void registerFunction(EntityManager & em, const char * name, F && func);Register a new function with the lua state.