2013-11-16 03:29:11 +08:00
|
|
|
//
|
|
|
|
// Created by NiTe Luo on 11/14/13.
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __CCNewDrawNode_H_
|
|
|
|
#define __CCNewDrawNode_H_
|
|
|
|
|
|
|
|
#include "CCPlatformMacros.h"
|
|
|
|
#include "CCDrawNode.h"
|
|
|
|
|
|
|
|
NS_CC_BEGIN
|
|
|
|
|
|
|
|
class NewDrawNode : public DrawNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static NewDrawNode* create();
|
|
|
|
|
|
|
|
virtual bool init();
|
|
|
|
|
|
|
|
void draw();
|
|
|
|
|
2013-11-20 05:57:39 +08:00
|
|
|
void onDraw();
|
|
|
|
|
2013-11-16 03:29:11 +08:00
|
|
|
protected:
|
|
|
|
NewDrawNode();
|
2013-12-07 09:59:34 +08:00
|
|
|
virtual ~NewDrawNode();
|
2013-11-20 05:57:39 +08:00
|
|
|
|
2013-11-16 03:29:11 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_END
|
|
|
|
|
|
|
|
#endif //__CCNewDrawNode_H_
|