keyhandler.h
来自「mopoid game symbian os application devel」· C头文件 代码 · 共 40 行
H
40 行
/*
========================================================================
Name : KeyHandler.h
Author :
Copyright :
Description : Stores a flag for the movement of the panel.
License :
========================================================================
*/
#ifndef __KEYHANDLER_H__
#define __KEYHANDLER_H__
#include <e32std.h>
#include "MopoidSharedData.h"
/**
* Stores the direction the player wants to move in. This is necessary
* to create a continuous movement in the time between pressing and
* releasing the key.
*/
class TKeyHandler {
public:
TKeyHandler();
MopoidShared::TDirection GetDirection() const;
void LeftPressed();
void RightPressed();
void NoDirection();
private:
MopoidShared::TDirection iDirection;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?