Renamed LoadScene to SetCurrentScene

This commit is contained in:
Antoine Pilote
2024-09-04 00:16:37 -04:00
parent 87f58d890e
commit 156bf8c5cc
2 changed files with 3 additions and 4 deletions

View File

@@ -159,7 +159,7 @@ namespace Nuake
return nullptr;
}
bool Engine::LoadScene(Ref<Scene> scene)
bool Engine::SetCurrentScene(Ref<Scene> scene)
{
return currentWindow->SetScene(scene);
}
@@ -173,7 +173,7 @@ namespace Nuake
{
currentProject = project;
if (!Engine::LoadScene(currentProject->DefaultScene))
if (!Engine::SetCurrentScene(currentProject->DefaultScene))
{
return false;
}