control_menu: Add rules related updates

This commit is contained in:
2026-01-12 20:43:50 +01:00
parent 9e2e7b562d
commit 24d8a092e4
3 changed files with 19 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
* File name: context.hpp
* Author: lejulien
* Date created: 01-01-1970 00:59:59
// Date modified: 10-01-2026 22:24:41
// Date modified: 12-01-2026 20:31:50
* ------
*/
@@ -13,11 +13,13 @@
#include <memory>
class World;
class Rules;
namespace gol {
typedef struct ctx {
std::shared_ptr<World> world = nullptr;
std::shared_ptr<Rules> rules = nullptr;
nlohmann::json config_json;
} ctx;