Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GRANULARITY int64 = 10 //定时器的最小单位,每格10ms
分别用位代表每个轮存在的轮子数(2^6,2^6,...2^8) -------------------------- | 6 | 6 | 6 | 6 | 8 | -------------------------- 根据游戏定时器,将第一轮控制在12位,即40960ms以内。
Functions ¶
func ReleaseTimer ¶
func ReleaseTimer(timer *Timer)
Types ¶
Click to show internal directories.
Click to hide internal directories.