public event EventHandler GameOver; //游戏结束事件 public GameStatus status; //游戏状态 private DispatcherTimer timer; //计数器 ..
基于12个网页-相关网页
JASS与Trigger变数对照表 ... gamespeed Game Speed游戏速度 gamestate integer游戏状态 gametype integerv 游戏类型 ...
基于12个网页-相关网页
游戏状态本身不需要每秒更新60次。
The game state itself doesn't need to be updated 60 times per second.
更新定时器用于每200毫秒刷新一次游戏状态。
The update timer is used to refresh the state of the game every 200 milliseconds.
游戏的更新也会出现延迟,游戏状态要消耗大段时间。
The updating of the game will also feel the delay and the game state will be updated in big time-chunks.
应用推荐