Timer:setRepeatCount: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<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 />
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 />
<br /></translate>
<source lang="lua">
<source lang="lua">
  Timer:setRepeatCount(repeatCount)
  Timer:setRepeatCount(repeatCount)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''repeatCount''': (number) the number of repetitions the timer will make <br/>
'''repeatCount''': (number) <translate>the number of repetitions the timer will make</translate> <br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2011.6

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