axmol/test_uphone/tests/RenderTextureTest/RenderTextureTest.h

26 lines
440 B
C
Raw Normal View History

2010-09-10 10:29:39 +08:00
#ifndef _RENDERTEXTURE_TEST_H_
#define _RENDERTEXTURE_TEST_H_
#include "cocos2d.h"
#include "../testBasic.h"
class RenderTextureTest : public CCLayer
{
public:
RenderTextureTest();
~RenderTextureTest();
virtual void ccTouchesMoved(NSSet* touches, UIEvent* event);
private:
CCRenderTexture* m_target;
CCSprite* m_brush;
};
class RenderTextureScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif