Class Index | File Index

Classes


Class tank.event.KeyEvent


Defined in: coderobot.event.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
键盘事件对象
Method Summary
Method Attributes Method Name and Description
 
获取某个键是否点击
Class Detail
tank.event.KeyEvent(options)
键盘事件对象
Parameters:
{Object} options
初始化参数
Returns:
KeyEvent实例
Method Detail
{Boolean} getButton()
获取某个键是否点击
Returns:
{Boolean} 某个键是否点击


Copyright © 2012 Tencent AlloyTeam . All Rights Reserved.