Class TCustomEventReceiver

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomEventReceiver = class(TWrapper, IEventReceiver)

Description

Base class for custom event receivers.
This wrapper class provides an IEventReceiver interface on the C++ side, allowing Pascal functions to be called on Irrlicht device events.

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function HandleEvent(Event: TIrrlichtEvent): Boolean; virtual; abstract;

Description

Methods

Public constructor Create;

Creates a new event receiver.
Note that this class is not reference counted and has to be Free'd manually.

Public destructor Destroy; override;

Destructor.

Public function HandleEvent(Event: TIrrlichtEvent): Boolean; virtual; abstract;

Callback function for internal device events.
You have to implement this funciton. actions by other handlers or the engine itself.

Returns

True if the element has been handled and does not require further


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22