mirror of https://github.com/axmolengine/axmol.git
37 lines
445 B
C++
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_
|