间隔时间操作

Constructor

new (time:Float)

新建一个间隔时间器

Parameters:

time

间隔多长时间可执行,单位毫秒

Methods

yes ():Bool

触发yes的时候,则意味着间隔时间已足够

Returns:

Bool