MagicalKaine
 全て クラス ファイル 関数 変数 列挙型 列挙型の値
CAllKeysState.h
説明を見る。
1 
2 //==============================================================
12 //==============================================================
13 
14 #ifndef __CALLKEYSSTATE_H__
15 #define __CALLKEYSSTATE_H__
16 
17 #include "..\CommonIncludes.h"
18 
19 //==============================================================
25 //==============================================================
26 
28 {
29 public:
33  CAllKeysState( void );
34  virtual ~CAllKeysState( void );
35 
36  void Record( void );
37 
38 
39  bool IsKeyPushed( const int );
40  bool IsKeyHold( const int );
41 
42 private:
44  int m_aiAllKeysState[ 256 ];
45 
47  char m_achTempKeysState[ 256 ];
48 
50  CAllKeysState( const CAllKeysState& rhs );
51  CAllKeysState& operator=( const CAllKeysState& rhs );
52 
53 };
54 
55 #endif
virtual ~CAllKeysState(void)
Definition: CAllKeysState.cpp:22
bool IsKeyHold(const int)
Definition: CAllKeysState.cpp:58
void Record(void)
Definition: CAllKeysState.cpp:26
CAllKeysState(void)
プログラムの実行中に、一度しかインスタンスを生成できない。 deleteした後に、newしても落ちるので注意
Definition: CAllKeysState.cpp:9
Definition: CAllKeysState.h:27
bool IsKeyPushed(const int)
Definition: CAllKeysState.cpp:44