Timer:setRepeatCount: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== <translate>Description</translate> ===
'''Class:''' [[Timer]]<br/>
<translate><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 />
=== Description ===
<br /></translate>
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.
<source lang="lua">
<syntaxhighlight lang="lua">
Timer:setRepeatCount(repeatCount)
Timer:setRepeatCount(repeatCount)
</source>
</syntaxhighlight>
=== <translate>Parameters</translate> ===
 
'''repeatCount''': (number) <translate>the number of repetitions the timer will make</translate> <br/>
=== Parameters ===
'''repeatCount''': (number) the number of repetitions the timer will make<br/>
 
{{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