Timer:getCurrentCount: 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>Class</translate>:''' [[Special:MyLanguage/Timer|Timer]]<br/>
'''Class:''' [[Timer]]<br/>
=== <translate>Description</translate> ===
 
<translate><br />
=== Description ===
Returns the current trigger count of the timer. It starts with 0 and if it reaches `repeatCount` value, timer stops.<br />
Returns the current trigger count of the timer. It starts with 0 and if it reaches ''repeatCount'' value, timer stops.
<br /></translate>
<syntaxhighlight lang="lua">
<source lang="lua">
(number) = Timer:getCurrentCount()
(number) = Timer:getCurrentCount()
</source>
</syntaxhighlight>
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>The current repeat count.</translate><br/>
=== Return values ===
'''Returns''' (number) the current repeat count<br/>
 
{{Timer}}

Latest revision as of 21:35, 24 August 2024

Available since: Gideros 2011.6
Class: Timer

Description

Returns the current trigger count of the timer. It starts with 0 and if it reaches repeatCount value, timer stops.

(number) = Timer:getCurrentCount()

Return values

Returns (number) the current repeat count