My Project
Public Member Functions | List of all members
ParaEngine::IParaEngineCore Class Referenceabstract

a table of virtual functions which are used by plug-ins to access the game engine More...

#include <IParaEngineCore.h>

Inheritance diagram for ParaEngine::IParaEngineCore:
ParaEngine::BaseInterface ParaEngine::CParaEngineCore

Public Member Functions

virtual DWORD GetVersion ()=0
 
virtual HWND GetParaEngineHWnd ()=0
 
virtual bool ForceRender ()=0
 render the current frame and does not return until everything is presented to screen. More...
 
virtual bool Sleep (float fSeconds)=0
 cause the main thread to sleep for the specified seconds. More...
 
virtual IParaEngineAppGetAppInterface ()=0
 get the ParaEngine app interface. More...
 
virtual IParaEngineAppCreateApp ()=0
 create an ParaEngine application. More...
 
virtual void Destroy ()
 one should call this when you no longer need this application, usually as the last line of your code. More...
 

Detailed Description

a table of virtual functions which are used by plug-ins to access the game engine

Member Function Documentation

§ CreateApp()

virtual IParaEngineApp* ParaEngine::IParaEngineCore::CreateApp ( )
pure virtual

create an ParaEngine application.

Each application is associated with a win32 window. this function is mostly called from host application to create the application object.

Implemented in ParaEngine::CParaEngineCore.

§ Destroy()

virtual void ParaEngine::IParaEngineCore::Destroy ( )
inlinevirtual

one should call this when you no longer need this application, usually as the last line of your code.

Reimplemented in ParaEngine::CParaEngineCore.

§ ForceRender()

virtual bool ParaEngine::IParaEngineCore::ForceRender ( )
pure virtual

render the current frame and does not return until everything is presented to screen.

this function is usually used to draw the animated loading screen.

Implemented in ParaEngine::CParaEngineCore.

§ GetAppInterface()

virtual IParaEngineApp* ParaEngine::IParaEngineCore::GetAppInterface ( )
pure virtual

get the ParaEngine app interface.

Please note that this function may return NULL, if no app is created.

Implemented in ParaEngine::CParaEngineCore.

§ Sleep()

virtual bool ParaEngine::IParaEngineCore::Sleep ( float  fSeconds)
pure virtual

cause the main thread to sleep for the specified seconds.

Implemented in ParaEngine::CParaEngineCore.


The documentation for this class was generated from the following file: