home *** CD-ROM | disk | FTP | other *** search
-
- with Occupants;
- use Occupants;
-
- package Items is
- type Item is new Occupant with private;
- type Item_Access is access Item'Class;
- function May_I_Get(Direct_Object : access Item;
- Agent : access Occupant'Class) return Boolean;
-
- private
- type Item is new Occupant with null record;
-
- end Items;
-