Difference between revisions of "Timer"

From GiderosMobile
Line 9: Line 9:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[Timer.delayedCall]] - delayed call a function after a set amount of time<br/>
+
[[Timer.delayedCall]] {{<translate>delayed call a function after a set amount of time</translate>}}<br/>
[[Timer.new]] - creates a new Timer object<br/>
+
[[Timer.new]] {{<translate>creates a new Timer object</translate>}}<br/>
[[Timer.pauseAll]] - pause all timers<br/>
+
[[Timer.pauseAll]] {{<translate>pause all timers</translate>}}<br/>
[[Timer.resumeAll]] - resume all timers<br/>
+
[[Timer.resumeAll]] {{<translate>resume all timers</translate>}}<br/>
[[Timer.stopAll]] - stop all timers<br/>
+
[[Timer.stopAll]] {{<translate>stop all timers</translate>}}<br/>
[[Timer:getCurrentCount]] - returns the current trigger count of the timer<br/>
+
[[Timer:getCurrentCount]] {{<translate>returns the current trigger count of the timer</translate>}}<br/>
[[Timer:getDelay]] - returns the time interval between timer events in milliseconds<br/>
+
[[Timer:getDelay]] {{<translate>returns the time interval between timer events in milliseconds</translate>}}<br/>
[[Timer:getRepeatCount]] - returns the number of repetitions the timer will make<br/>
+
[[Timer:getRepeatCount]] {{<translate>returns the number of repetitions the timer will make</translate>}}<br/>
[[Timer:isRunning]] - returns the current running status of timer<br/>
+
[[Timer:isRunning]] {{<translate>returns the current running status of timer</translate>}}<br/>
[[Timer:reset]] - stops the timer and sets the currentCount property to 0<br/>
+
[[Timer:reset]] {{<translate>stops the timer and sets the currentCount property to 0</translate>}}<br/>
[[Timer:setDelay]] - sets the time interval between timer events in milliseconds<br/>
+
[[Timer:setDelay]] {{<translate>sets the time interval between timer events in milliseconds</translate>}}<br/>
[[Timer:setRepeatCount]] - sets the number of repetitions the timer will make<br/>
+
[[Timer:setRepeatCount]] {{<translate>sets the number of repetitions the timer will make</translate>}}<br/>
[[Timer:start]] - starts the timer<br/>
+
[[Timer:start]] {{<translate>starts the timer</translate>}}<br/>
[[Timer:stop]] - stops the timer<br/>
+
[[Timer:stop]] {{<translate>stops the timer</translate>}}<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===

Revision as of 14:18, 23 August 2018