diff options
Diffstat (limited to 'src/things.adb')
-rw-r--r-- | src/things.adb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/things.adb b/src/things.adb new file mode 100644 index 0000000..efd8b63 --- /dev/null +++ b/src/things.adb @@ -0,0 +1,27 @@ + + +package body Things is + + + procedure Draw + (This : in Thing; + X, Y : in Integer) is + begin + if This.Self_Image /= null then + This.Self_Image.Draw (X, Y); + end if; + end Draw; + + + + + function "=" + (A, B : in Thing) + return Boolean is + begin + return A.Self_Image = B.Self_Image; + end "="; + + +end Things; + |