| 8 | namespace obe::Engine::Bindings |
| 9 | { |
| 10 | void LoadClassEngine(sol::state_view state) |
| 11 | { |
| 12 | sol::table EngineNamespace = state["obe"]["Engine"].get<sol::table>(); |
| 13 | sol::usertype<obe::Engine::Engine> bindEngine |
| 14 | = EngineNamespace.new_usertype<obe::Engine::Engine>("Engine", |
| 15 | sol::call_constructor, sol::constructors<obe::Engine::Engine()>()); |
| 16 | bindEngine["init"] = &obe::Engine::Engine::init; |
| 17 | bindEngine["run"] = &obe::Engine::Engine::run; |
| 18 | bindEngine["Audio"] = sol::property(&obe::Engine::Engine::getAudioManager); |
| 19 | bindEngine["Configuration"] |
| 20 | = sol::property(&obe::Engine::Engine::getConfigurationManager); |
| 21 | bindEngine["Resources"] = sol::property(&obe::Engine::Engine::getResourceManager); |
| 22 | bindEngine["Input"] = sol::property(&obe::Engine::Engine::getInputManager); |
| 23 | bindEngine["Framerate"] |
| 24 | = sol::property(&obe::Engine::Engine::getFramerateManager); |
| 25 | bindEngine["Triggers"] = sol::property(&obe::Engine::Engine::getTriggerManager); |
| 26 | bindEngine["Scene"] = sol::property(&obe::Engine::Engine::getScene); |
| 27 | bindEngine["Cursor"] = sol::property(&obe::Engine::Engine::getCursor); |
| 28 | bindEngine["Window"] = sol::property(&obe::Engine::Engine::getWindow); |
| 29 | } |
| 30 | void LoadClassResourceManagedObject(sol::state_view state) |
| 31 | { |
| 32 | sol::table EngineNamespace = state["obe"]["Engine"].get<sol::table>(); |
nothing calls this directly
no test coverage detected