Index

Package: Players

Description

package Entities.Players is

Classes

Player (abstract)

type Player is abstract new Entity with private;

Ancestors:

Immediate Children:

Primitive operations:

Construct (overriding Entities.Construct)
Entities.Adjust (Inherited)
Entities.Delete (Inherited)
Entities.Face (Inherited)
Entities.Object_Input (Inherited)
Entities.On_Activate (Inherited)
Entities.On_Collide (Inherited)
Entities.On_Hit_Wall (Inherited)
Entities.On_Load (Inherited)
Entities.On_Separate (Inherited)
Entities.Set_Attribute (Inherited)
Entities.Tick (Inherited)
Entities.To_String (Inherited)
Entities.Update_Frame (Inherited)
Object_Read (overriding Entities.Object_Read)
Object_Write (overriding Entities.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. This procedure must be overridden to provide an implementation.

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. This procedure must be overridden to provide an implementation.

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. This procedure must be overridden to provide an implementation.