Class TPHXApplication

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPHXApplication = class(TObject)

Description

Template class for the user application

Hierarchy

  • TObject
  • TPHXApplication

Overview

Methods

Protected procedure MousePressed(X, Y: Integer; Shift: TPHXShiftStates; Button: TPHXMouseButton); virtual;
Protected procedure MouseMoved(X, Y: Integer; Shift: TPHXShiftStates); virtual;
Protected procedure MouseReleased(X, Y: Integer; Shift: TPHXShiftStates; Button: TPHXMouseButton); virtual;
Protected procedure KeyPressed(Key: TPHXVirtualKey; Shift: TPHXShiftStates); virtual;
Protected procedure KeyReleased(Key: TPHXVirtualKey; Shift: TPHXShiftStates); virtual;
Protected function GetContentPath: String; virtual;
Public constructor Create; virtual;
Public destructor Destroy; override;
Public procedure Init; virtual;
Public procedure Shutdown; virtual;
Public procedure Update; virtual;
Public procedure Render; virtual;
Public procedure Resized; virtual;
Public procedure Run;
Public procedure Terminate;

Properties

Public property ContentPath: String read GetContentPath;

Description

Methods

Protected procedure MousePressed(X, Y: Integer; Shift: TPHXShiftStates; Button: TPHXMouseButton); virtual;

Event that is called when a mouse button is pressed

Protected procedure MouseMoved(X, Y: Integer; Shift: TPHXShiftStates); virtual;

Event that is called when the mouse is moved

Protected procedure MouseReleased(X, Y: Integer; Shift: TPHXShiftStates; Button: TPHXMouseButton); virtual;

Event that is called when a mouse button is released

Protected procedure KeyPressed(Key: TPHXVirtualKey; Shift: TPHXShiftStates); virtual;

Event that is called when a key is pressed

Protected procedure KeyReleased(Key: TPHXVirtualKey; Shift: TPHXShiftStates); virtual;

Event that is called when a key is released

Protected function GetContentPath: String; virtual;

Return the path containing the content for the application

Public constructor Create; virtual;

Create a new application

Public destructor Destroy; override;

Free the application

Public procedure Init; virtual;

Initializes the application

Public procedure Shutdown; virtual;

Shutdown the application

Public procedure Update; virtual;

Update the application

Public procedure Render; virtual;

Render the application

Public procedure Resized; virtual;

Called when the device is resized

Public procedure Run;

Run the application

Public procedure Terminate;

Terminate the application

Properties

Public property ContentPath: String read GetContentPath;

Return the path containing the content for the application


Generated by PasDoc 0.13.0 on 2013-08-26 11:02:34