CAST II Game Engine

   DESCRIPTION       FEATURES       SCREENSHOTS       FORUMS       DOCUMENTATION       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TApp

Unit

AppHelper

Declaration

type TApp = class

Description

Base application class

Fields

 NameDescription
ProtectedFActionsArray of registered actions
PublicKeyCfgConfig to store license information

Methods

Overview

Publicconstructor Create(const AProgramName: string; AStarter: TAppStarter); virtual;
Publicdestructor Destroy; override;
Protectedfunction GetActionIndex(const AName: string): Integer;
Publicfunction IsTrial: Boolean; virtual;

Description

Publicconstructor Create(const AProgramName: string; AStarter: TAppStarter); virtual;

Create an application with the specified name using the specified starter

Publicdestructor Destroy; override;

Destroy the application

Protectedfunction GetActionIndex(const AName: string): Integer;

Returns action index in array by its name or -1 if not found

Publicfunction IsTrial: Boolean; virtual;

Returns True if a trial restrictions should be applied to the application

Properties

Overview

Protectedproperty Action[const Name: string]: Boolean;
Publicproperty Config: TNiceFileConfig;
Publicproperty Starter: TAppStarter;

Description

Protectedproperty Action[const Name: string]: Boolean;

Active status of action by action name

Publicproperty Config: TNiceFileConfig;

Application configuration

Publicproperty Starter: TAppStarter;

Application starter

Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com