Sync classref with 2.1 source, goodbye 2.0!

This commit is contained in:
Rémi Verschelde
2016-08-10 21:33:38 +02:00
parent 6f795d4295
commit f629e839e5
125 changed files with 5464 additions and 2321 deletions

View File

@@ -13,7 +13,7 @@ Timer
Brief Description
-----------------
A simple Timer node.
Member Functions
----------------
@@ -27,8 +27,12 @@ Member Functions
+----------------------------+------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`has_autostart<class_Timer_has_autostart>` **(** **)** const |
+----------------------------+------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_active<class_Timer_is_active>` **(** **)** const |
+----------------------------+------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_one_shot<class_Timer_is_one_shot>` **(** **)** const |
+----------------------------+------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_active<class_Timer_set_active>` **(** :ref:`bool<class_bool>` active **)** |
+----------------------------+------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_autostart<class_Timer_set_autostart>` **(** :ref:`bool<class_bool>` enable **)** |
+----------------------------+------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_one_shot<class_Timer_set_one_shot>` **(** :ref:`bool<class_bool>` enable **)** |
@@ -85,12 +89,24 @@ Return the wait time in seconds.
Return true if set to automatically start when entering the scene.
.. _class_Timer_is_active:
- :ref:`bool<class_bool>` **is_active** **(** **)** const
Return if the timer is active or not.
.. _class_Timer_is_one_shot:
- :ref:`bool<class_bool>` **is_one_shot** **(** **)** const
Return true if configured as one-shot.
.. _class_Timer_set_active:
- void **set_active** **(** :ref:`bool<class_bool>` active **)**
Set whether the timer is active or not. An inactive timer will be paused until it is activated again.
.. _class_Timer_set_autostart:
- void **set_autostart** **(** :ref:`bool<class_bool>` enable **)**