From 50bc168a8ba2a7eb341fec8f688f0c6cd1cd0acc Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 22 May 2025 07:53:15 +0200 Subject: Add logic to set the sign inside the cell --- src/main/game/cell.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main/game/cell.c') diff --git a/src/main/game/cell.c b/src/main/game/cell.c index 9227da5..cb56330 100644 --- a/src/main/game/cell.c +++ b/src/main/game/cell.c @@ -71,3 +71,15 @@ cell_is_filled(Cell *cell) { if (cell == NULL) return false; return cell->filled; } + +char +cell_get_sign(Cell *cell) +{ + return cell->sign; +} + +void +cell_set_sign(Cell *cell, char sign) +{ + cell->sign = sign; +} \ No newline at end of file -- cgit v1.2.3