Unit a3dge

Description

Engine core classes.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TConfigurationFile Handles configuration files.
Class TDisplay Default display.
Class TKeyboard Encapsulates keyboard input.
Class TMouse Encapsulates mouse input.
Class TGameState Base class for game states.
Class TGameStateManager Manages game states.
Class TA3DGEApplication Base for all A3DGE applications.

Types

TKeyboardEvent = procedure (aKeyCode: Integer) of object;
TMouseNotifyEvent = procedure (const aX, aY, aZ, aB: Integer) of object;

Constants

VersionStr = '1.0';
CopyStr = Concat ('A3DGE ', VersionStr, ' (c) 2012, 2025 Guillermo Martínez J.');
etDbg = [etWarning, etError, etDebug];
etAll = [etCustom, etInfo, etWarning, etError, etDebug];
etNone = [];
etDefault = [etError, etWarning];
FPS = 50;

Variables

Application: TA3DGEApplication;

Description

Types

TKeyboardEvent = procedure (aKeyCode: Integer) of object;

Key event notification.

TMouseNotifyEvent = procedure (const aX, aY, aZ, aB: Integer) of object;

Mouse event.

Constants

VersionStr = '1.0';

Version identification.

See also
CopyStr
Copyright string.
CopyStr = Concat ('A3DGE ', VersionStr, ' (c) 2012, 2025 Guillermo Martínez J.');

Copyright string.

etDbg = [etWarning, etError, etDebug];

Logs debug and error events.

This can be assigned to Application.EventLogFilter.

etAll = [etCustom, etInfo, etWarning, etError, etDebug];

To log all events.

This can be assigned to Application.EventLogFilter.

etNone = [];

To deactivate log.

This can be assigned to Application.EventLogFilter.

etDefault = [etError, etWarning];

Default log value.

This can be assigned to Application.EventLogFilter.

FPS = 50;

Default game speed in Ticks Per Second.

See also
TA3DGEApplication.TicksPerSecond
How many times to call current state's Update method each second.

Variables

Application: TA3DGEApplication;

Global reference to the A3DGE application object.


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