Unit CastleLevels

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Scene manager that can easily load game levels (TGameSceneManager), management of available game levels (TLevelInfo, Levels).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TLevelInfo  
Class TLevelInfoList  
Class TGameSceneManager Scene manager that can comfortably load and manage a 3D game level.
Class TLevelLogic Level logic.

Functions and Procedures

function LevelLogicClasses: TLevelLogicClasses;
function Levels: TLevelInfoList;

Types

TLevelLogicClass = class of TLevelLogic;
TCastleSceneClass = class of TCastleScene;
TCastlePrecalculatedAnimationClass = class of TCastlePrecalculatedAnimation;
TLevelLogicClasses = specialize TFPGMap<string, TLevelLogicClass>;

Description

Functions and Procedures

function LevelLogicClasses: TLevelLogicClasses;
 
function Levels: TLevelInfoList;

All known levels. You can use this to show a list of available levels to user. You can also search it and use TGameSceneManager.LoadLevel to load a given TLevelInfo instance.

Types

TLevelLogicClass = class of TLevelLogic;
 
TCastleSceneClass = class of TCastleScene;
 
TCastlePrecalculatedAnimationClass = class of TCastlePrecalculatedAnimation;
 
TLevelLogicClasses = specialize TFPGMap<string, TLevelLogicClass>;
 

Generated by PasDoc 0.13.0 on 2014-05-01 01:41:01