mirror of https://github.com/axmolengine/axmol.git
26 lines
405 B
C++
26 lines
405 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) override;
|
|
|
|
private:
|
|
LabelTTF* _label;
|
|
};
|
|
|
|
class KeypadTestScene : public TestScene
|
|
{
|
|
public:
|
|
virtual void runThisTest();
|
|
};
|
|
|
|
#endif
|