语法调整,精简代码100多行

This commit is contained in:
郑浩乐
2016-01-06 22:53:24 +08:00
parent 876bf24618
commit 523ee87ffa
2 changed files with 85 additions and 187 deletions

View File

@@ -31,7 +31,7 @@ function Game(id,options){
type:0, //对象类型,0表示普通对象(不与地图绑定),1表示玩家控制对象,2表示程序控制对象
color:'#F00', //标识颜色
status:1, //对象状态,1表示正常,0表示隐藏,2表示暂停
orientation:0, //当前定位方向,0表示,1表示,2表示,3表示
orientation:0, //当前定位方向,0表示,1表示,2表示,3表示
vector:{}, //目标坐标
coord:{}, //如果对象与地图绑定,获得坐标值
speed:0, //移动速度