Added Demmy Layer for testing

This commit is contained in:
OusmBlueNinja 2025-05-21 09:25:43 -05:00
parent f6e80b5ad0
commit 6074fdc492
2 changed files with 7 additions and 5 deletions

View File

@ -11,13 +11,12 @@ int main()
constexpr const char* VERSION = "0.1.0"; // Format: 0.<release><commit_count>
OX::Core core(std::string(OX_ENGINE_VERSION) + " (" + VERSION + ")");
core.AddLayer(std::make_unique<OX::DummyLayer>("Dummy Layer"));
core.AddLayer(std::make_unique<OX::Editor>("Obsidian Editor"));
//core.AddLayer(std::make_unique<OX::DummyLayer>("Dummy Layer"));
core.Init();
core.Run();
core.Shutdown();

View File

@ -62,7 +62,7 @@ namespace OX
void Init(Core &core) override
{
Logger::LogInfo("DummyLayer '%s' initialized.", m_name.c_str());
Logger::LogDebug("%s Init", m_name.c_str());
}
void Update(Core &core) override
@ -75,8 +75,11 @@ namespace OX
void Shutdown(Core &core) override
{
Logger::LogInfo("DummyLayer '%s' shutting down.", m_name.c_str());
Logger::LogDebug("%s Shutdown", m_name.c_str());
}
};
}
#endif // CORE_H