Index

Package: Game_States

Description

package Game_States is

Types

Game_State (abstract)

type Game_State is limited interface;
Presents a view of the current game session's state. The Game class implements this so that game components can access the session's state without having a full reference to the Game class.

A_Game_State

type A_Game_State is access all Game_State'Class;

Subprograms & Entries

Get_Game_Var (abstract)

function Get_Game_Var
( this: access Game_State;
var: String ) return Integer is abstract;
Returns the value of game session var 'var' as an integer. An exception will be raised on error.