Index

Package: Games

Description

package Games is

Classes

Game (abstract)

type Game is abstract new Limited_Object and Event_Listener and Process with private;

Ancestors:

Immediate Children:

Games.Keen.Keen_Game

Primitive operations:

Construct (overriding Objects.Construct)
Delete (overriding Objects.Delete)
End_Game
Events.Listeners.To_String (Inherited)
Game_Var_Add
Get_Process_Name (overriding Processes.Get_Process_Name)
Handle_Event (overriding Events.Listeners.Handle_Event)
New_Game
Objects.To_String (Inherited)
Pause
Set_Game_Var
Set_Game_Var
Tick (overriding Processes.Tick)

References:

games.ads:18:10 (declaration)
games.adb:32:39 (reference)
games.adb:41:40 (reference)
games.adb:56:37 (reference)
games.adb:81:39 (reference)
games.adb:102:43 (reference)
games.adb:113:40 (reference)
games.adb:121:46 (reference)
games.adb:130:43 (reference)
games.adb:186:41 (reference)
games.adb:202:39 (reference)
games.adb:219:36 (reference)
games.adb:233:43 (reference)
games.adb:244:43 (reference)
games.adb:254:49 (reference)
games.adb:271:36 (reference)
games.adb:296:35 (reference)
games.adb:326:35 (reference)
games.ads:19:31 (reference)
games.ads:27:39 (reference)
games.ads:32:40 (reference)
games.ads:36:41 (reference)
games.ads:40:36 (reference)
games.ads:43:35 (reference)
games.ads:62:10 (full declaration)
games.ads:76:40 (reference)
games.ads:78:37 (reference)
games.ads:82:39 (reference)
games.ads:86:43 (reference)
games.ads:89:46 (reference)
games.ads:92:43 (reference)
games.ads:100:39 (reference)
games.ads:105:36 (reference)
games.ads:109:43 (reference)
games.ads:114:43 (reference)
games.ads:119:49 (reference)
games.ads:121:35 (reference)
games-keen.adb:28:9 (reference)
games-keen.adb:44:9 (reference)
games-keen.adb:67:13 (reference)
games-keen.adb:121:9 (reference)
games-keen.adb:144:9 (reference)
games-keen.ads:14:27 (reference)

Types

A_Game

type A_Game is access all Game'Class;

References:

games.ads:19:10 (declaration)
applications.ads:97:27 (reference)
games.adb:20:33 (reference)
games.adb:153:17 (reference)
games.adb:171:13 (reference)
games.adb:175:13 (reference)
games.adb:334:37 (reference)
games.ads:22:33 (reference)
games.ads:46:37 (reference)
games.ads:125:46 (reference)
games-keen.adb:16:33 (reference)
games-keen.adb:17:25 (reference)

Subprograms & Entries

Create_Game

function Create_Game return A_Game;

References:

games.ads:22:14 (declaration)
applications.adb:547:22 (reference)
games.adb:20:14 (body)
games.adb:27:9 (label)
games.ads:23:27 (reference)
Creates a new Game object, using the registered allocator.

Add_View

procedure Add_View
( this: access Game;
view: in out A_Game_View );

References:

games.ads:27:15 (declaration)
applications.adb:550:19 (dispatching call)
games.adb:32:15 (body)
games.adb:36:9 (label)

Calls:

Ada.Containers.Indefinite_Doubly_Linked_Lists.Append defined at a-cidlli.ads:105:14
Adds a view to the game logic. 'view' is consumed and then owned by the Game object.

Get_Corral

function Get_Corral
( this: access Game )
return A_Corral;

References:

games.ads:32:14 (declaration)
games.adb:113:14 (body)
games.adb:116:9 (label)
games-keen.adb:29:14 (reference)
games-keen.adb:30:14 (reference)
games-keen.adb:31:14 (reference)
games-keen.adb:32:14 (reference)
games-keen.adb:40:14 (reference)
games-keen.adb:41:14 (reference)
games-keen.adb:42:14 (reference)
games-keen.adb:43:14 (reference)

Called by:

Games.Keen.Construct defined at games-keen.ads:16:15
Games.Keen.Construct defined at games-keen.ads:16:15
Games.Keen.Construct defined at games-keen.ads:16:15
Games.Keen.Construct defined at games-keen.ads:16:15
Games.Keen.Delete defined at games-keen.ads:18:15
Games.Keen.Delete defined at games-keen.ads:18:15
Games.Keen.Delete defined at games-keen.ads:18:15
Games.Keen.Delete defined at games-keen.ads:18:15
Returns the Game's event corral. It is created during Game construction.

Load_World

procedure Load_World
( this: access Game;
name: String );

References:

games.ads:36:15 (declaration)
games.adb:138:18 (reference)
games.adb:186:15 (body)
games.adb:197:9 (label)
games-keen.adb:135:14 (reference)

Called by:

Games.Handle_Event.Do_Load_World defined at games.adb:136:19
Games.Keen.New_Game defined at games-keen.ads:37:15

Calls:

Ada.Containers.Indefinite_Doubly_Linked_Lists.Is_Empty defined at a-cidlli.ads:63:13
Debugging.Dbg defined at debugging.ads:58:15
Set_World defined at games.ads:119:15
Worlds.Load_World defined at worlds.ads:56:14
Raises exception on error, clearing the current world.

Start

procedure Start
( this: access Game );

References:

games.ads:40:15 (declaration)
applications.adb:552:19 (dispatching call)
games.adb:271:15 (body)
games.adb:291:9 (label)

Calls:

Ada.Containers.Indefinite_Doubly_Linked_Lists.Iterate defined at a-cidlli.ads:177:14
Events.Corrals.Add_Listener defined at events-corrals.ads:25:15
Games.Start.Examine defined at games.adb:273:19
Processes.Managers.Attach defined at processes-managers.ads:31:15
Processes.Managers.Start defined at processes-managers.ads:52:15
Starts the game logic and attaches it to the framework.

Stop

procedure Stop
( this: access Game );

References:

games.ads:43:15 (declaration)
applications.adb:554:19 (dispatching call)
games.adb:296:15 (body)
games.adb:321:9 (label)

Calls:

Ada.Containers.Indefinite_Doubly_Linked_Lists.Iterate defined at a-cidlli.ads:177:14
Events.Corrals.Remove_Listener defined at events-corrals.ads:42:15
Games.Stop.Examine defined at games.adb:298:19
Processes.Managers.Detach defined at processes-managers.ads:35:15
Processes.Managers.Stop defined at processes-managers.ads:55:15
Worlds.Detach_From_Framework defined at worlds.ads:67:15
Stops the game logic and detaches it from the framework.

Delete

procedure Delete
( this: in out A_Game );

References:

games.ads:46:15 (declaration)
applications.adb:166:9 (reference)
games.adb:334:15 (body)
games.adb:337:9 (label)

Calls:

Objects.Delete defined at objects.ads:99:15
Deletes the Game.