diff options
author | 2025-05-22 07:53:15 +0200 | |
---|---|---|
committer | 2025-05-22 07:53:15 +0200 | |
commit | 50bc168a8ba2a7eb341fec8f688f0c6cd1cd0acc (patch) | |
tree | ae74a7b055bba93b0d03a33aa8372ed781f2020f /src/main/game/cell.c | |
parent | 9d25cfc7fa3a93cb4bee41a6aab9b76d86ad7298 (diff) | |
download | tris-50bc168a8ba2a7eb341fec8f688f0c6cd1cd0acc.tar.gz tris-50bc168a8ba2a7eb341fec8f688f0c6cd1cd0acc.zip |
Add logic to set the sign inside the cell
Diffstat (limited to 'src/main/game/cell.c')
-rw-r--r-- | src/main/game/cell.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 |