forked from excaliburjs/Excalibur
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[excaliburjs#905] Add finite execution count limit to timers (excalib…
…urjs#974) Closes excaliburjs#905. - Allow timers to repeat execution a finite number of times via `new ex.Timer(fn, interval, numTimes);` - Allow times to be reset with a different limit via `timer.reset(interval, numTimes)` - Allow access to the number of times a timer has been executed via timer.timesRepeated
- Loading branch information
Showing
3 changed files
with
71 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters