CCScene



#ifndef __CCSCENE_H__

#define __CCSCENE_H__


#include "base_nodes/CCNode.h"


NS_CC_BEGIN


/**

 * @addtogroup scene

 * @{

 */


/** @brief CCScene is a subclass of CCNode that is used only as an abstract concept.


CCScene an CCNode are almost identical with the difference that CCScene has it's

anchor point (by default) at the center of the screen.


For the moment CCScene has no other logic than that, but in future releases it might have

additional logic.


It is a good practice to use and CCScene as the parent of all your nodes.

*/

class CC_DLL CCScene : public CCNode

{

public:

    CCScene();

    virtual ~CCScene();

    bool init();


    static CCScene *create(void);

};


// end of scene group

/// @}


NS_CC_END


#endif // __CCSCENE_H__


posted @ 2014-05-21 19:15  sssssnian  阅读(136)  评论(0编辑  收藏  举报