My Project
Public Member Functions | Static Public Member Functions | List of all members
ParaEngine::AppDelegate Class Reference

ParaCraftMobile Application. More...

#include <AppDelegate.h>

Public Member Functions

void StopApp ()
 
void Run ()
 
virtual bool applicationDidFinishLaunching ()
 Implement Director and Scene init code here. More...
 
void InitGlew ()
 
bool InitApp ()
 
void CreateParaEngineApp ()
 
void GetCommandLine (std::string &sCmdLine)
 
void SetMacCommandLine (std::string &sCmdLine)
 
void InitNPL ()
 
void InitSearchPath ()
 
void InitDirector ()
 
void InitDirectorScene ()
 
void InitParaEngineApp ()
 
void FrameMove (float fElapsedTime)
 
virtual void applicationDidEnterBackground ()
 The function be called when the application enter background. More...
 
virtual void applicationWillEnterForeground ()
 The function be called when the application enter foreground. More...
 
const std::string & GetScriptSearchPath () const
 

Static Public Member Functions

static void Exit ()
 
static void OnNPLStateLoaded (NPL::CNPLRuntimeState *pRuntimeState)
 

Detailed Description

ParaCraftMobile Application.

The reason for implement as private inheritance is to hide some interface call by Director.

Member Function Documentation

§ applicationDidEnterBackground()

void AppDelegate::applicationDidEnterBackground ( )
virtual

The function be called when the application enter background.

Parameters
thepointer of the application

§ applicationDidFinishLaunching()

bool AppDelegate::applicationDidFinishLaunching ( )
virtual

Implement Director and Scene init code here.

Returns
true Initialize success, app continue.
false Initialize failed, app terminate.

§ applicationWillEnterForeground()

void AppDelegate::applicationWillEnterForeground ( )
virtual

The function be called when the application enter foreground.

Parameters
thepointer of the application

§ GetCommandLine()

void ParaEngine::AppDelegate::GetCommandLine ( std::string &  sCmdLine)

when servermode=true, the app can run without any rendering, mostly used as command line tool.


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