aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Hilbrunner2018-05-07 09:37:11 +0200
committerGitHub2018-05-07 09:37:11 +0200
commite15305721da0e4478b62efcda3e79f1c04e7a901 (patch)
treeeb14ba13a09a17200ecd35c275865b40e1827b8e /doc
parent9b0c487dd43116f16848146f1ea0904eae1ae888 (diff)
parentf714637e58034b6340fa0725c7935a1ae29d92c0 (diff)
downloadgodot-e15305721da0e4478b62efcda3e79f1c04e7a901.tar.gz
godot-e15305721da0e4478b62efcda3e79f1c04e7a901.tar.zst
godot-e15305721da0e4478b62efcda3e79f1c04e7a901.zip
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Timer.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml
index aba1b7818..c51a52d91 100644
--- a/doc/classes/Timer.xml
+++ b/doc/classes/Timer.xml
@@ -21,8 +21,10 @@
<method name="start">
<return type="void">
</return>
+ <argument index="0" name="time_sec" type="float" default="-1">
+ </argument>
<description>
- Starts the timer. This also resets the remaining time to [code]wait_time[/code].
+ Starts the timer. Sets [code]wait_time[/code] to [code]time_sec[/code] if [code]time_sec[/code] > 0. This also resets the remaining time to [code]wait_time[/code].
Note: this method will not resume a paused timer. See [method set_paused].
</description>
</method>