Replace Game::initialize() with factory method

This commit is contained in:
Lexi / Zoe 2025-11-23 23:46:10 +01:00
parent d180b8a5b4
commit e37eb0b03f
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
6 changed files with 43 additions and 37 deletions

View file

@ -59,12 +59,12 @@ export namespace core
0
);
return std::unique_ptr<Engine>(
return std::unique_ptr<Engine>{
new Engine{
std::move(sdl_window),
Renderer{std::move(sdl_renderer)}
}
);
};
}
bool keep_running() const