summaryrefslogtreecommitdiff
path: root/src/main/game/cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game/cell.c')
-rw-r--r--src/main/game/cell.c12
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