Class Index | File Index

Classes


Class tank.event.HitWallEvent


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.HitWallEvent(options)
撞到墙壁的事件
Parameters:
{Object} options
初始化参数
Returns:
HitWallEvent实例
Method Detail
{Number} getBearing()
获取撞击的墙壁的朝向角度
Returns:
{Number} 撞击的墙壁的朝向角度


Copyright © 2012 Tencent AlloyTeam . All Rights Reserved.