Index

Package: Items

Description

package Entities.Items is

Classes

Item (abstract)

type Item is abstract new Entity with private;

Ancestors:

Immediate Children:

Entities.Items.Keen4.Blue_Gem
Entities.Items.Keen4.Candybar
Entities.Items.Keen4.Donut
Entities.Items.Keen4.Drop
Entities.Items.Keen4.Flask
Entities.Items.Keen4.Green_Gem
Entities.Items.Keen4.Gum
Entities.Items.Keen4.Icecream
Entities.Items.Keen4.Jawbreaker
Entities.Items.Keen4.Red_Gem
Entities.Items.Keen4.Soda
Entities.Items.Keen4.Stunner
Entities.Items.Keen4.Yellow_Gem

Primitive operations:

Construct
Entities.Adjust (Inherited)
Entities.Construct (Inherited)
Entities.Delete (Inherited)
Entities.Face (Inherited)
Entities.Is_Permanent (Inherited)
Entities.Object_Input (Inherited)
Entities.Object_Read (Inherited)
Entities.Object_Write (Inherited)
Entities.On_Activate (Inherited)
Entities.On_Collide (Inherited)
Entities.On_Hit_Wall (Inherited)
Entities.On_Separate (Inherited)
Entities.Set_Attribute (Inherited)
Entities.To_String (Inherited)
Entities.Update_Frame (Inherited)
Object_Read
Object_Write
Objects.Construct (Inherited)
On_Collide
Tick (overriding Entities.Tick)

Types

A_Item

type A_Item is access all Item'Class;

Subprograms & Entries

Get_Icon

function Get_Icon
( this: access Item ) return A_Bitmap;
Returns a reference to a bitmap icon that represents the item. The returned reference is owned by the item. Do not modify it!

Give_Item (abstract)

procedure Give_Item
( this: access Item ) is abstract;
Gives the item's bonus to the player. Each item class gives a different bonus. This is called when a Player entity collides with the item.