summaryrefslogtreecommitdiff
path: root/include/coordinate.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/coordinate.h')
-rw-r--r--include/coordinate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/coordinate.h b/include/coordinate.h
index bc63122..4c98f3f 100644
--- a/include/coordinate.h
+++ b/include/coordinate.h
@@ -36,6 +36,16 @@ Coord coord_set_col(Coord c, char col);
Coord coord_set_row(Coord c, char row);
/*
+ * Get Coord row
+ */
+char coord_get_row(Coord c);
+
+/*
+ * Get Coord column
+ */
+char coord_get_col(Coord c);
+
+/*
* Returns the next coordinate. Useful for traversing the board forwards.
*/
Coord coord_next(Coord);
nihil fit ex nihilo