settings_menu: Create a dedicated class for the settings
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user