mirror of https://github.com/axmolengine/axmol.git
29 lines
712 B
C++
29 lines
712 B
C++
#ifndef __CCBPROXY_H_
|
|
#define __CCBPROXY_H_
|
|
|
|
#include "cocos2d.h"
|
|
#include "CCLuaEngine.h"
|
|
#include "SimpleAudioEngine.h"
|
|
#include "cocos-ext.h"
|
|
|
|
USING_NS_CC;
|
|
USING_NS_CC_EXT;
|
|
|
|
class CCBProxy : public Layer{
|
|
public:
|
|
CCBProxy() { }
|
|
virtual ~ CCBProxy(){ }
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(CCBProxy, create);
|
|
CCBReader* createCCBReader();
|
|
Node* readCCBFromFile(const char *pszFileName,CCBReader* pCCBReader,bool bSetOwner = false);
|
|
const char* getNodeTypeName(Node* pNode);
|
|
void setCallback(Node* pNode,int nHandle);
|
|
};
|
|
|
|
class CCBLayerLoader:public LayerLoader{
|
|
public:
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCBLayerLoader, loader);
|
|
};
|
|
|
|
#endif // __CCBPROXY_H_
|