implement editing the board win condition

This commit is contained in:
2026-02-24 22:36:22 +01:00
parent d8534cacdd
commit b9e3ab8d2d
5 changed files with 65 additions and 5 deletions

View File

@ -226,6 +226,8 @@ public:
auto IsWon() const -> bool;
auto SetGoal(int x, int y) -> bool;
auto AddColumn() const -> State;
auto RemoveColumn() const -> State;
@ -240,6 +242,8 @@ public:
auto GetBlockAt(int x, int y) const -> std::string;
auto GetTargetBlock() const -> Block;
auto GetIndex(int x, int y) const -> int;
auto RemoveBlock(int x, int y) -> bool;