Files
GameOfLifeEditor/includes/render.hpp
2026-01-10 22:01:15 +01:00

26 lines
424 B
C++

/*
* File name: render.hpp
* Author: lejulien
* Date created: 10-01-2026 21:54:12
// Date modified: 10-01-2026 22:00:37
* ------
*/
#include "world.hpp"
#pragma once
class Render {
public:
// Constructor
Render(int cell_size);
// Member function
void display(World *world);
void updateCellSize(int new_size);
private:
void display_world(std::vector<bool> *data, int width, int height);
int cell_size_;
};