From 751f0ac7e8f695413d8c1a56deefa428d5314b9b Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 5 Aug 2017 19:49:18 +1000 Subject: Undo and level/move number display boxes added --- src/moves.adb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/moves.adb') diff --git a/src/moves.adb b/src/moves.adb index e9bffc1..11f92b4 100644 --- a/src/moves.adb +++ b/src/moves.adb @@ -40,5 +40,15 @@ package body Moves is end Drop_Latest; + + + function Length + (This : in Path) + return Natural is + begin + return Natural (Move_Vectors.Vector (This).Length); + end Length; + + end Moves; -- cgit