diff options
Diffstat (limited to 'src/moves.ads')
-rw-r--r-- | src/moves.ads | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/moves.ads b/src/moves.ads index 728526c..3e86847 100644 --- a/src/moves.ads +++ b/src/moves.ads @@ -18,39 +18,40 @@ package Moves is type Path is tagged private; - Empty_Path : constant Path; + + procedure Add (This : in out Path; Item : in Move); - procedure Add (This : in out Path; List : in Path); - procedure Prefix (This : in out Path; Item : in Move); + + function Latest (This : in Path) return Move; - procedure Drop_Latest (This : in out Path); + + function Length (This : in Path) return Natural; - procedure Total_Delta (This : in Path; DX, DY : out Integer); |