2011-06-14 14:31:25 +08:00
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
2011-11-09 23:23:47 +08:00
|
|
|
ccNormalScene = 1 << 0,
|
|
|
|
ccTransitionScene = 1 << 1,
|
2011-06-14 14:31:25 +08:00
|
|
|
} ccSceneFlag;
|
|
|
|
|
|
|
|
class CCScene : public CCNode
|
|
|
|
{
|
2011-11-09 23:23:47 +08:00
|
|
|
ccSceneFlag getSceneType(void);
|
2011-11-29 17:12:08 +08:00
|
|
|
void registerScriptEventsHandler(LUA_FUNCTION functionRefID);
|
|
|
|
void unregisterScriptEventsHandler(void);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
static CCScene *node(void);
|
2011-06-14 14:31:25 +08:00
|
|
|
};
|