Timer:setRepeatCount: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | |||
''' | '''Class:''' [[Timer]]<br/> | ||
''' | |||
=== | === 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. | |||
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. | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Timer:setRepeatCount(repeatCount) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | |||
'''repeatCount''': (number) | === Parameters === | ||
'''repeatCount''': (number) the number of repetitions the timer will make<br/> | |||
{{Timer}} | {{Timer}} | ||
Latest revision as of 21:45, 24 August 2024
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