axmol/cocos/2d/renderer/CCNewDrawNode.h

37 lines
445 B
C
Raw Normal View History

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 ~NewDrawNode();
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-11-20 05:57:39 +08:00
2013-11-26 08:33:05 +08:00
kmMat4 _transformMatrix;
2013-11-16 03:29:11 +08:00
};
NS_CC_END
#endif //__CCNewDrawNode_H_