settings_menu: Create a dedicated class for the settings
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
* File name: render.hpp
|
||||
* Author: lejulien
|
||||
* Date created: 10-01-2026 21:54:12
|
||||
// Date modified: 10-01-2026 22:00:37
|
||||
// Date modified: 12-01-2026 21:56:03
|
||||
* ------
|
||||
*/
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "world.hpp"
|
||||
|
||||
#pragma once
|
||||
@@ -16,7 +18,7 @@ public:
|
||||
Render(int cell_size);
|
||||
|
||||
// Member function
|
||||
void display(World *world);
|
||||
void display(std::shared_ptr<World> world);
|
||||
void updateCellSize(int new_size);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user