doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2021-01-04 14:33:44 +01:00
parent 8bfd96ee3f
commit 215d18814e
No known key found for this signature in database
GPG key ID: C3336907360768E1
76 changed files with 1279 additions and 1469 deletions

View file

@ -19,7 +19,7 @@
print("Initialized:")
print(" Starting time: %s" % str(time_elapsed))
func _idle(delta):
func _process(delta):
time_elapsed += delta
# Return true to end the main loop.
return quit
@ -51,16 +51,6 @@
Called before the program exits.
</description>
</method>
<method name="_idle" qualifiers="virtual">
<return type="bool">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
Called each idle frame with the time since the last idle frame as argument (in seconds). Equivalent to [method Node._process].
If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame.
</description>
</method>
<method name="_initialize" qualifiers="virtual">
<return type="void">
</return>
@ -68,7 +58,7 @@
Called once during initialization.
</description>
</method>
<method name="_iteration" qualifiers="virtual">
<method name="_physics_process" qualifiers="virtual">
<return type="bool">
</return>
<argument index="0" name="delta" type="float">
@ -78,6 +68,16 @@
If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame.
</description>
</method>
<method name="_process" qualifiers="virtual">
<return type="bool">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
Called each process (idle) frame with the time since the last process frame as argument (in seconds). Equivalent to [method Node._process].
If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame.
</description>
</method>
</methods>
<signals>
<signal name="on_request_permissions_result">