class GameConst { static readonly Gravity:number = -700;//440; static readonly VSTimeScale:number = 1.1; /**日志开关3:开启log,2:开启warn,1:开启error和reprort*/ public static get logType():number{return 4;} } (<any>window).GameConst = GameConst;