mirror of https://github.com/axmolengine/axmol.git
adds OBJECT_TYPE info to CocosDenshion
This commit is contained in:
parent
4e640ecb35
commit
2ea8350518
|
@ -38,6 +38,9 @@ namespace CocosDenshion {
|
|||
class EXPORT_DLL SimpleAudioEngine
|
||||
{
|
||||
public:
|
||||
static const char* OBJECT_TYPE;
|
||||
const char* getObjectType() { return SimpleAudioEngine::OBJECT_TYPE; }
|
||||
|
||||
SimpleAudioEngine();
|
||||
~SimpleAudioEngine();
|
||||
|
||||
|
|
|
@ -141,6 +141,8 @@ namespace CocosDenshion {
|
|||
|
||||
static SimpleAudioEngine *s_pEngine;
|
||||
|
||||
const char* SimpleAudioEngine::OBJECT_TYPE = "SimpleAudioEngine";
|
||||
|
||||
SimpleAudioEngine::SimpleAudioEngine()
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue