You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
413 B
21 lines
413 B
#ifndef LUA_SCRIPT_COMPONENT_H |
|
#define LUA_SCRIPT_COMPONENT_H |
|
|
|
#include <string> // std::string |
|
|
|
namespace Inferno { |
|
|
|
class LuaScript; |
|
|
|
struct LuaScriptComponent { |
|
LuaScript* instance = nullptr; |
|
std::string path; |
|
|
|
// Dont allow manually setting instance during construction |
|
LuaScriptComponent() {} |
|
LuaScriptComponent(const std::string& path) |
|
: path(path) {} |
|
}; |
|
} |
|
|
|
#endif // LUA_SCRIPT_COMPONENT_H
|
|
|