cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ScriptEngineManager Class Reference

ScriptEngineManager is a singleton which holds an object instance of ScriptEngineProtocl It helps cocos2d-x and the user code to find back LuaEngine object. More...

#include <CCScriptSupport.h>

Public Member Functions

 ~ScriptEngineManager (void)
ScriptEngineProtocolgetScriptEngine (void)
void setScriptEngine (ScriptEngineProtocol *scriptEngine)
void removeScriptEngine (void)

Static Public Member Functions

static ScriptEngineManagergetInstance ()
static void destroyInstance ()
static CC_DEPRECATED_ATTRIBUTE
ScriptEngineManager
sharedManager ()
static CC_DEPRECATED_ATTRIBUTE void purgeSharedManager ()

Detailed Description

ScriptEngineManager is a singleton which holds an object instance of ScriptEngineProtocl It helps cocos2d-x and the user code to find back LuaEngine object.

Since
v0.99.5-x-0.8.5

Constructor & Destructor Documentation

~ScriptEngineManager ( void  )

Member Function Documentation

static void destroyInstance ( )
static
static ScriptEngineManager*
getInstance
( )
static
ScriptEngineProtocol*
getScriptEngine
( void  )
inline
static CC_DEPRECATED_ATTRIBUTE
void purgeSharedManager
( )
inlinestatic
void removeScriptEngine ( void  )
void setScriptEngine ( ScriptEngineProtocol scriptEngine)
static CC_DEPRECATED_ATTRIBUTE
ScriptEngineManager*
sharedManager
( )
inlinestatic

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