Index

Package: Scoreboards

Description

package Widgets.Scoreboards is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Scoreboard

type Scoreboard is new Widget with private;

Ancestors:

Primitive operations:

Activate_Popup (Inherited)
Bring_To_Front (Inherited)
Construct
Construct (Inherited)
Construct (Inherited)
Delete (overriding Delete)
Draw (Inherited)
Draw_Content
Draw_Content (Inherited)
Find_Widget_At (Inherited)
Get_Color (Inherited)
Get_Min_Height (overriding Get_Min_Height)
Get_Min_Width (overriding Get_Min_Width)
Get_Process_Name (Inherited)
Get_View (Inherited)
Get_Window (Inherited)
Handle_Blur (Inherited)
Handle_Click (Inherited)
Handle_Descendant_Shown (Inherited)
Handle_Disabled (Inherited)
Handle_Enabled (Inherited)
Handle_Enter (Inherited)
Handle_Exit (Inherited)
Handle_Focus (Inherited)
Handle_Key_Held (Inherited)
Handle_Key_Press (Inherited)
Handle_Key_Release (Inherited)
Handle_Mouse_Held (Inherited)
Handle_Mouse_Move (Inherited)
Handle_Mouse_Press (Inherited)
Handle_Mouse_Release (Inherited)
Handle_Mouse_Scroll (Inherited)
Handle_Resize (Inherited)
Handle_Rooted (Inherited)
Handle_Shown (Inherited)
Is_Rooted (Inherited)
Is_Showing (Inherited)
Pack (Inherited)
Set_Color (Inherited)
Set_Dirty (Inherited)
Set_Parent (Inherited)
Set_Zoom (Inherited)
To_String (Inherited)
Translate_To_Content (Inherited)
Translate_To_Window (Inherited)

Types

A_Scoreboard

type A_Scoreboard is access all Scoreboard'Class;

Subprograms & Entries

Create_Scoreboard

function Create_Scoreboard
( view: not null access Game_Views.Game_View'Class;
id: String;
libName: String ) return A_Scoreboard;

Set_Ammo

procedure Set_Ammo
( this: not null access Scoreboard'Class;
ammo: Natural );

Set_Lives

procedure Set_Lives
( this: not null access Scoreboard'Class;
lives: Natural );

Set_Points

procedure Set_Points
( this: not null access Scoreboard'Class;
points: Natural );