summaryrefslogtreecommitdiff
path: root/src/things.adb
blob: 66cc07eef542bd3f60af16853e12b197401671f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


package body Things is


    function "="
           (A, B : in Thing)
        return Boolean is
    begin
        return A.Self_Image = B.Self_Image;
    end "=";




    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;


end Things;