Difference between revisions of "Timer:setRepeatCount"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Timer|Timer]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Timer|Timer]]<br/> | ||
Line 6: | Line 7: | ||
Sets the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.<br /> | Sets the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.<br /> | ||
<br /></translate> | <br /></translate> | ||
− | < | + | <syntaxhighlight lang="lua"> |
Timer:setRepeatCount(repeatCount) | Timer:setRepeatCount(repeatCount) | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''repeatCount''': (number) <translate>the number of repetitions the timer will make</translate> <br/> | '''repeatCount''': (number) <translate>the number of repetitions the timer will make</translate> <br/> | ||
+ | |||
+ | {{Timer}} |
Latest revision as of 15:33, 13 July 2023
Available since: Gideros 2011.6
Class: Timer
Description
Sets the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.
Timer:setRepeatCount(repeatCount)
Parameters
repeatCount: (number) the number of repetitions the timer will make