axmol/test_uphone/tests/SceneTest/SceneTest.h

54 lines
970 B
C
Raw Normal View History

2010-09-01 11:34:30 +08:00
#ifndef _SCENE_TEST_H_
#define _SCENE_TEST_H_
2010-09-01 14:57:55 +08:00
////----#include "cocos2d.h"
2010-09-01 11:34:30 +08:00
#include "../testBasic.h"
class SceneTestLayer1 : public CCLayer
{
public:
SceneTestLayer1();
~SceneTestLayer1();
void testDealloc(ccTime dt);
void onPushScene(NSObject* pSender);
void onPushSceneTran(NSObject* pSender);
void onQuit(NSObject* pSender);
//CREATE_NODE(SceneTestLayer1);
} ;
class SceneTestLayer2 : public CCLayer
{
float m_timeCounter;
public:
SceneTestLayer2();
void testDealloc(ccTime dt);
void onGoBack(NSObject* pSender);
void onReplaceScene(NSObject* pSender);
void onReplaceSceneTran(NSObject* pSender);
//CREATE_NODE(SceneTestLayer2);
} ;
class SceneTestLayer3 : public CCColorLayer
{
public:
SceneTestLayer3();
virtual void testDealloc(ccTime dt);
virtual void ccTouchesEnded(NSSet* touches, UIEvent* event);
//CREATE_NODE(SceneTestLayer3);
} ;
class SceneTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif