summaryrefslogtreecommitdiff
path: root/doc/classes/Timer.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-30 16:42:52 +0200
committerGitHub <noreply@github.com>2021-07-30 16:42:52 +0200
commit83ccf39adcefaa32325d607562f8f0889c215046 (patch)
tree61ea8e8a202e2998e745de04516a9a2f34c9be1b /doc/classes/Timer.xml
parenta7363f3dfd32ecff77d4d6937be9f232bfc699c7 (diff)
parent7adf4cc9b5de6701a41e27690a69b9892d5eed85 (diff)
Merge pull request #51067 from akien-mga/doc-return-argument-self-closing-tags
doc: Use self-closing tags for `return` and `argument`
Diffstat (limited to 'doc/classes/Timer.xml')
-rw-r--r--doc/classes/Timer.xml12
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml
index 807d8033c1..b91f159160 100644
--- a/doc/classes/Timer.xml
+++ b/doc/classes/Timer.xml
@@ -12,25 +12,21 @@
</tutorials>
<methods>
<method name="is_stopped" qualifiers="const">
- <return type="bool">
- </return>
+ <return type="bool" />
<description>
Returns [code]true[/code] if the timer is stopped.
</description>
</method>
<method name="start">
- <return type="void">
- </return>
- <argument index="0" name="time_sec" type="float" default="-1">
- </argument>
+ <return type="void" />
+ <argument index="0" name="time_sec" type="float" default="-1" />
<description>
Starts the timer. Sets [code]wait_time[/code] to [code]time_sec[/code] if [code]time_sec &gt; 0[/code]. This also resets the remaining time to [code]wait_time[/code].
[b]Note:[/b] this method will not resume a paused timer. See [member paused].
</description>
</method>
<method name="stop">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Stops the timer.
</description>