| 22 | } |
| 23 | |
| 24 | sol::function GameObject::getConstructor() const |
| 25 | { |
| 26 | if (m_hasScriptEngine) |
| 27 | return m_environment["ObjectInit"].get<sol::function>(); |
| 28 | throw Exceptions::NoSuchComponent("Script", m_type, m_id, EXC_INFO); |
| 29 | } |
| 30 | |
| 31 | vili::node GameObjectDatabase::allDefinitions = vili::object {}; |
| 32 | vili::node GameObjectDatabase::allRequires = vili::object {}; |
no test coverage detected