settings_menu: Create a dedicated class for the settings

This commit is contained in:
2026-01-12 21:34:41 +01:00
parent 24d8a092e4
commit 416d3a2be9
13 changed files with 286 additions and 161 deletions

View File

@@ -2,7 +2,7 @@
* File name: render.cpp
* Author: lejulien
* Date created: 10-01-2026 21:49:04
// Date modified: 10-01-2026 21:59:56
// Date modified: 12-01-2026 21:54:56
* ------
*/
@@ -71,7 +71,7 @@ void Render::display_world(std::vector<bool> *data, int width, int height) {
// Render loop
void Render::display(World *world) {
void Render::display(std::shared_ptr<World> world) {
display_world(world->getWorldData(), world->getWidth(), world->getHeight());
}