tint the board if a winning state is reached

This commit is contained in:
2026-02-20 01:36:48 +01:00
parent d87df74834
commit 6e5a4acdd0
4 changed files with 24 additions and 10 deletions

View File

@ -3,6 +3,7 @@
#include <raylib.h>
// #define PRINT_TIMINGS
#define VERLET_UPDATE
// #define WEB

View File

@ -92,7 +92,8 @@ public:
const State &current) -> void;
auto DrawKlotski(const State &state, int hov_x, int hov_y, int sel_x,
int sel_y, int block_add_x, int block_add_y) -> void;
int sel_y, int block_add_x, int block_add_y,
const WinCondition win_condition) -> void;
auto DrawMenu(const MassSpringSystem &masssprings, int current_preset,
const State &current_state) -> void;