Class TWorldHUDGameState

Unit

Declaration

type TWorldHUDGameState = class(TGameState)

Description

A game state that renders the 3D World and a 2D HUD.

See also
TWorldGameState
A game state that renders the 3D World.

Hierarchy

Overview

Methods

Public constructor Create; override;
Public destructor Destroy; override;
Public procedure Render; override;

Properties

Public property HUDBitmap: ALLEGRO_BITMAPptr read fHUDBitmap write SetBitmap;
Public property OwnsHUDBitmap: Boolean read fOwnsBitmap write fOwnsBitmap;

Description

Methods

Public constructor Create; override;

Constructor.

Public destructor Destroy; override;

Destructor.

Public procedure Render; override;

Render the title screen.

Properties

Public property HUDBitmap: ALLEGRO_BITMAPptr read fHUDBitmap write SetBitmap;

Bitmap used to render the HUD.

Note that bitmap will be scaled to fill the wole screen.

See also
TWorldHUDGameState.OwnsHUDBitmap
Does the state owns the bitmap.
Public property OwnsHUDBitmap: Boolean read fOwnsBitmap write fOwnsBitmap;

Does the state owns the bitmap. Default is False.


Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.