2012-06-13 02:59:49 +08:00
|
|
|
#ifndef _CCB_CCNODELOADERLISTENER_H_
|
|
|
|
#define _CCB_CCNODELOADERLISTENER_H_
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
class NodeLoaderListener {
|
2012-06-13 02:59:49 +08:00
|
|
|
public:
|
2013-09-13 11:41:20 +08:00
|
|
|
/**
|
|
|
|
* @js NA
|
|
|
|
* @lua NA
|
|
|
|
*/
|
2013-06-20 14:15:53 +08:00
|
|
|
virtual ~NodeLoaderListener() {};
|
2013-09-13 11:41:20 +08:00
|
|
|
/**
|
|
|
|
* @js NA
|
|
|
|
* @lua NA
|
|
|
|
*/
|
2013-06-20 14:15:53 +08:00
|
|
|
virtual void onNodeLoaded(Node * pNode, NodeLoader * pNodeLoader) = 0;
|
2012-06-13 02:59:49 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|