updated README

This commit is contained in:
kikito 2013-09-25 20:20:22 +02:00
parent e8e6144b5e
commit c8899a15fb

View File

@ -22,8 +22,7 @@ Increases the internal timer in the clock by `dt`.
* On one-time clocks, if the internal timer surpasses the clock's `time`, then the clock's `callback` is invoked. * On one-time clocks, if the internal timer surpasses the clock's `time`, then the clock's `callback` is invoked.
* On periodic clocks, the `callback` is executed 0 or more times, depending on how big `dt` is and the clock's internal timer. * On periodic clocks, the `callback` is executed 0 or more times, depending on how big `dt` is and the clock's internal timer.
* `expired` will be true for one-time clocks whose time has passed, so their function has been invoked.
`expired` will be true for one-time clocks whose time has passed, so their function has been invoked.
`clock:reset([running])` `clock:reset([running])`
Changes the internal timer manually to `running`, or to 0 if nothing is specified. It never invokes `callback`. Changes the internal timer manually to `running`, or to 0 if nothing is specified. It never invokes `callback`.