Class TBGLDefaultSpriteEngine

Unit

Declaration

type TBGLDefaultSpriteEngine = class(TBGLCustomSpriteEngine)

Description

Default implementation for a sprite rendering engine with OpenGL

Hierarchy

Overview

Fields

Protected FSpriteRemoved: TBGLCustomSprite;
Protected FSprites: array of TBGLDefaultSprite;
Protected FSpritesCount: integer;

Methods

Public constructor Create;
Protected function GetCount: integer; override;
Protected function GetSprite(AIndex: integer): TBGLCustomSprite; override;
Public procedure Add(ASprite: TBGLCustomSprite); override;
Public procedure Clear; override;
Public procedure Delete(AIndex: integer); override;
Public procedure OnDraw; override;
Public procedure OnElapse(AElapsedMs: integer); override;
Public procedure OnTimer; override;
Public procedure Remove(ASprite: TBGLCustomSprite); override;

Description

Fields

Protected FSpriteRemoved: TBGLCustomSprite;

This item has no description.

Protected FSprites: array of TBGLDefaultSprite;

This item has no description.

Protected FSpritesCount: integer;

This item has no description.

Methods

Public constructor Create;

This item has no description.

Protected function GetCount: integer; override;

This item has no description.

Protected function GetSprite(AIndex: integer): TBGLCustomSprite; override;

This item has no description.

Public procedure Add(ASprite: TBGLCustomSprite); override;

This item has no description.

Public procedure Clear; override;

This item has no description.

Public procedure Delete(AIndex: integer); override;

This item has no description.

Public procedure OnDraw; override;

This item has no description.

Public procedure OnElapse(AElapsedMs: integer); override;

This item has no description.

Public procedure OnTimer; override;

This item has no description.

Public procedure Remove(ASprite: TBGLCustomSprite); override;

This item has no description.