mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Sync classref with current source
This commit is contained in:
@@ -47,7 +47,7 @@ Methods
|
||||
Signals
|
||||
-------
|
||||
|
||||
.. _class_Timer_timeout:
|
||||
.. _class_Timer_timeout:
|
||||
|
||||
- **timeout** **(** **)**
|
||||
|
||||
@@ -56,7 +56,7 @@ Emitted when the timer reaches 0.
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
.. _enum_Timer_TimerProcessMode:
|
||||
.. _enum_Timer_TimerProcessMode:
|
||||
|
||||
enum **TimerProcessMode**:
|
||||
|
||||
@@ -71,7 +71,7 @@ Counts down a specified interval and emits a signal on reaching 0. Can be set to
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_Timer_autostart:
|
||||
.. _class_Timer_autostart:
|
||||
|
||||
- :ref:`bool<class_bool>` **autostart**
|
||||
|
||||
@@ -83,7 +83,7 @@ Property Descriptions
|
||||
|
||||
If ``true`` the timer will automatically start when entering the scene tree. Default value: ``false``.
|
||||
|
||||
.. _class_Timer_one_shot:
|
||||
.. _class_Timer_one_shot:
|
||||
|
||||
- :ref:`bool<class_bool>` **one_shot**
|
||||
|
||||
@@ -95,7 +95,7 @@ If ``true`` the timer will automatically start when entering the scene tree. Def
|
||||
|
||||
If ``true`` the timer will stop when reaching 0. If ``false`` it will restart. Default value: ``false``.
|
||||
|
||||
.. _class_Timer_paused:
|
||||
.. _class_Timer_paused:
|
||||
|
||||
- :ref:`bool<class_bool>` **paused**
|
||||
|
||||
@@ -107,7 +107,7 @@ If ``true`` the timer will stop when reaching 0. If ``false`` it will restart. D
|
||||
|
||||
If ``true`` the timer is paused and will not process until it is unpaused again, even if :ref:`start<class_Timer_start>` is called.
|
||||
|
||||
.. _class_Timer_process_mode:
|
||||
.. _class_Timer_process_mode:
|
||||
|
||||
- :ref:`TimerProcessMode<enum_Timer_TimerProcessMode>` **process_mode**
|
||||
|
||||
@@ -119,7 +119,7 @@ If ``true`` the timer is paused and will not process until it is unpaused again,
|
||||
|
||||
Processing mode. See :ref:`TimerProcessMode<enum_@GlobalScope_TimerProcessMode>`.
|
||||
|
||||
.. _class_Timer_time_left:
|
||||
.. _class_Timer_time_left:
|
||||
|
||||
- :ref:`float<class_float>` **time_left**
|
||||
|
||||
@@ -131,7 +131,7 @@ The timer's remaining time in seconds. Returns 0 if the timer is inactive.
|
||||
|
||||
Note: You cannot set this value. To change the timer's remaining time, use :ref:`wait_time<class_Timer_wait_time>`.
|
||||
|
||||
.. _class_Timer_wait_time:
|
||||
.. _class_Timer_wait_time:
|
||||
|
||||
- :ref:`float<class_float>` **wait_time**
|
||||
|
||||
@@ -146,13 +146,13 @@ Wait time in seconds.
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_Timer_is_stopped:
|
||||
.. _class_Timer_is_stopped:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_stopped** **(** **)** const
|
||||
|
||||
Returns ``true`` if the timer is stopped.
|
||||
|
||||
.. _class_Timer_start:
|
||||
.. _class_Timer_start:
|
||||
|
||||
- void **start** **(** :ref:`float<class_float>` time_sec=-1 **)**
|
||||
|
||||
@@ -160,7 +160,7 @@ Starts the timer. Sets ``wait_time`` to ``time_sec`` if ``time_sec`` > 0. This a
|
||||
|
||||
Note: this method will not resume a paused timer. See :ref:`set_paused<class_Timer_set_paused>`.
|
||||
|
||||
.. _class_Timer_stop:
|
||||
.. _class_Timer_stop:
|
||||
|
||||
- void **stop** **(** **)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user