Class TRepoSoundEngine.TSoundInfoAlias

Unit

Declaration

type TSoundInfoAlias = class(TSoundInfo)

Description

Sound that can be played, as an alias to a number of other TSoundInfo instances (an alias may lead to another alias, that's OK, as long as eventually it resolves into actual sound name).

Hierarchy

Enclosing Class

Overview

Fields

Strict Private Target: TCastleStringList;

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure ReadElement(const Element: TDOMElement; const AParentGroup: TSoundGroup; const BaseUrl: String; const ASoundEngine: TRepoSoundEngine); override;
Public procedure ResolveNames(const AllSounds: TSoundInfoList); override;
Public function FinalSound(const RecursionDepth: Cardinal): TSoundInfoBuffer; override;

Description

Fields

Strict Private Target: TCastleStringList;

This item has no description.

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure ReadElement(const Element: TDOMElement; const AParentGroup: TSoundGroup; const BaseUrl: String; const ASoundEngine: TRepoSoundEngine); override;

This item has no description. Showing description inherited from TRepoSoundEngine.TSoundInfo.ReadElement.

Read a sound from XML element <sound> or <alias>.

Public procedure ResolveNames(const AllSounds: TSoundInfoList); override;

This item has no description. Showing description inherited from TRepoSoundEngine.TSoundInfo.ResolveNames.

Do some finalization once all sounds are known, and their names are known.

Public function FinalSound(const RecursionDepth: Cardinal): TSoundInfoBuffer; override;

This item has no description. Showing description inherited from TRepoSoundEngine.TSoundInfo.FinalSound.

Get the final TSoundInfoBuffer, resolving aliases.