summaryrefslogtreecommitdiff
path: root/include/move.h
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 15:18:25 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 15:18:25 -0300
commitc81bc656c6226883b7e3cae5269532123c7dea76 (patch)
treebf55dd75ef1850adce4586423ff9510f7734b115 /include/move.h
parent85cdbcd8fa2867b5e36dc1705fdb17ce4a2a558b (diff)
add move fields getters
Diffstat (limited to 'include/move.h')
-rw-r--r--include/move.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/move.h b/include/move.h
index 9f61775..3844fe2 100644
--- a/include/move.h
+++ b/include/move.h
@@ -8,6 +8,9 @@
*/
Move move_init(Coord, Coord);
+Coord move_get_orig(Move);
+Coord move_get_dest(Move);
+
/*
* Returns 1 if Move is a valid chess movement.
*/
nihil fit ex nihilo