Index

Package: Players

Description

package Entities.Players is

Classes

Player (abstract)

type Player is abstract new Entity with private;

Ancestors:

Immediate Children:

Primitive operations:

Entities.Adjust (Inherited)
Entities.Construct (Inherited)
Entities.Delete (Inherited)
Entities.Face (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.Tick (Inherited)
Entities.To_String (Inherited)
Entities.Update_Frame (Inherited)
Is_Permanent (overriding Entities.Is_Permanent)
Object_Read
Object_Write
Objects.Construct (Inherited)

Types

A_Player

type A_Player is access all Player'Class;

Subprograms & Entries

Die (abstract)

procedure Die
( this: access Player ) is abstract;
Notifies the player that something deadly happened to it and it should die. The player entity may choose to do nothing if it is currently invincible.

Move_Start (abstract)

procedure Move_Start
( this: access Player;
dir: Cardinal_Direction ) is abstract;
Notifies the player entity that a "start movement" impulse in direction 'dir' was received.

Move_Stop (abstract)

procedure Move_Stop
( this: access Player;
dir: Cardinal_Direction ) is abstract;
Notifies the player entity that a "stop movement" impulse in direction 'dir' was received.