axmol/samples/Cpp/TestCpp/Classes/KeypadTest/KeypadTest.h

26 lines
396 B
C++

#ifndef _KEYPAD_TEST_H_
#define _KEYPAD_TEST_H_
#include "cocos2d.h"
#include "../testBasic.h"
class KeypadTest : public Layer
{
public:
KeypadTest();
~KeypadTest();
virtual void onKeyReleased(EventKeyboard::KeyCode keycode, Event* event);
private:
LabelTTF* _label;
};
class KeypadTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif