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

37 lines
445 B
C++

//
// 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();
void onDraw();
protected:
NewDrawNode();
kmMat4 _transformMatrix;
};
NS_CC_END
#endif //__CCNewDrawNode_H_