diff options
Diffstat (limited to 'lib/move.c')
-rw-r--r-- | lib/move.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -11,7 +11,15 @@ Move move_init(Coord orig, Coord dest) { m.dest = dest; return m; -} +} + +Coord move_get_orig(Move m) { + return m.orig; +} + +Coord move_get_dest(Move m) { + return m.dest; +} /* * Returns 1 if Move is a valid chess movement. |