File hp/manager/InputManager.lua
Functions
M:initialize () | 初期化処理です |
onClick (down) | マウスクリック処理 |
onKeyboard (key, down) | キーボード入力時のイベント処理です. |
onPointer (x, y) | ポインター処理 |
onTouch (eventType, idx, x, y, tapCount) | タッチ処理 |
Tables
InputManager | 画面の操作をキャッチして、イベントを発出するクラスです. |
Functions
- M:initialize ()
- 初期化処理です
- onClick (down)
-
マウスクリック処理
Parameters
- down:
- onKeyboard (key, down)
-
キーボード入力時のイベント処理です.
Parameters
- key:
- down:
- onPointer (x, y)
-
ポインター処理
Parameters
- x:
- y:
- onTouch (eventType, idx, x, y, tapCount)
-
タッチ処理
Parameters
- eventType:
- idx:
- x:
- y:
- tapCount: