Files
GameOfLifeEditor/includes/context.hpp

27 lines
403 B
C++

/*
* File name: context.hpp
* Author: lejulien
* Date created: 01-01-1970 00:59:59
// Date modified: 12-01-2026 20:31:50
* ------
*/
#pragma once
#include <nlohmann/json.hpp>
#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;
} // namespace gol