gilded rose in Ada

This commit is contained in:
Florian Franzmann authored and Florian Franzmann committed 2018-11-24 20:20:56 +01:00
1 parent 3906ee2b8d
commit f4a171464f
12 files changed
+663

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
with Ada.Containers.Vectors;
with Items;
use Items;
package Gilded_Rose is
package Item_Vecs is new Ada.Containers.Vectors (
Element_Type => Item,
Index_Type => Positive
);
type Gilded_Rose is record
Items : Item_Vecs.Vector;
end record;
procedure Update_Quality(Self : in out Gilded_Rose);
end Gilded_Rose;