间隔时间操作
new (time:Float)
新建一个间隔时间器
Parameters:
time
间隔多长时间可执行,单位毫秒
yes ():Bool
触发yes的时候,则意味着间隔时间已足够
Returns:
Bool