control_menu: Move processing and display code into it's correspondind methods

This commit is contained in:
2026-01-12 16:29:12 +01:00
parent c00c430382
commit 9e2e7b562d
3 changed files with 68 additions and 54 deletions

View File

@@ -9,6 +9,7 @@
#pragma once
#include <context.hpp>
#include <types.hpp>
namespace gol {
@@ -21,6 +22,7 @@ public:
private:
ctx context_;
public: // Keep those public for easy access
MenuState menu_state_ = MenuState::NONE;
int fps_ctrl_ = false;
int cell_size_ctrl_ = false;
bool play_ctrl_ = true;