summaryrefslogtreecommitdiff
path: root/src/main/game/cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game/cell.h')
-rw-r--r--src/main/game/cell.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/game/cell.h b/src/main/game/cell.h
index 50a5606..000edfb 100644
--- a/src/main/game/cell.h
+++ b/src/main/game/cell.h
@@ -24,9 +24,12 @@
typedef struct Cell {
float left, right, top, bottom;
+ bool filled;
} Cell;
Cell *cell_new(float left, float right, float top, float bottom);
bool cell_within_bounds(Cell *cell, float x, float y);
+void cell_set_filled(Cell *cell, bool filled);
+bool cell_is_filled(Cell *cell);
#endif /* __GAME_CELL_H__ */