summaryrefslogtreecommitdiff
path: root/src/things.adb
blob: efd8b63091e4bb32685ab8f79ebdec8df5f2218d (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


    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;