-- Programmed by Jedidiah Barber -- Licensed under the Sunset License v1.0 -- See license.txt for further details private with Data, FLTK.Images.RGB.PNG; package Things is type Thing is tagged private; Nothing : constant Thing; Man : constant Thing; Treasure : constant Thing; function "=" (A, B : in Thing) return Boolean; procedure Draw (This : in Thing; X, Y : in Integer); private type Thing is tagged record Self_Image : access FLTK.Images.RGB.PNG.PNG_Image; end record; Nothing : constant Thing := (Self_Image => null); Man : constant Thing := (Self_Image => Data.Man_Image); Treasure : constant Thing := (Self_Image => Data.Treasure_Image); end Things;