Unit AdPixelTest

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Contains a class which allows simple and hardware accelerated collision detection.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TAdPixelCollisionTester This class can be used to see whether two user-defined objects collide.

Types

TAdCollisionTestDrawProc = procedure(AObj: TObject; ASurface: TAdRenderingSurface; AX, AY: integer) of object;
TAdCollisionTestCollisionProc = procedure(AObj1, AObj2: TObject) of object;

Description

Types

TAdCollisionTestDrawProc = procedure(AObj: TObject; ASurface: TAdRenderingSurface; AX, AY: integer) of object;

Callback procedure type used by TAdPicelCollisionTester. Called when a object should be drawn.

Parameters
AObj
represents the object that should be drawn
ASurface
the surface it should be drawn to
AX,
AY the top corner edge of the object where it should be drawn to.
TAdCollisionTestCollisionProc = procedure(AObj1, AObj2: TObject) of object;

Callback procedure type. Used by TAdPixelCollisionTester to indicate that two objects collided.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00