summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-03-31 21:01:10 +0200
committerTomasz Chabora <kobewi4e@gmail.com>2019-03-31 21:17:50 +0200
commit1e9128238e7b74394148579ded9e63115cb0aa58 (patch)
treeb3d799316fd0d444b4341a4f54f6e8927aee14d6 /doc
parent5b00cd89d318a92e7970fbdf80d9fca424e15224 (diff)
Document SceneTree.get_frame() and persistent in add_to_group
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Node.xml1
-rw-r--r--doc/classes/SceneTree.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index e872fee1cc..22b1d8e371 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -146,6 +146,7 @@
</argument>
<description>
Adds the node to a group. Groups are helpers to name and organize a subset of nodes, for example "enemies" or "collectables". A node can be in any number of groups. Nodes can be assigned a group at any time, but will not be added until they are inside the scene tree (see [method is_inside_tree]). See notes in the description, and the group methods in [SceneTree].
+ [code]persistent[/code] option is used when packing node to [PackedScene] and saving to file. Non-persistent groups aren't stored.
</description>
</method>
<method name="can_process" qualifiers="const">
diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml
index 7e696badb2..ed976b0856 100644
--- a/doc/classes/SceneTree.xml
+++ b/doc/classes/SceneTree.xml
@@ -77,6 +77,7 @@
<return type="int">
</return>
<description>
+ Returns the current frame, i.e. number of frames since the application started.
</description>
</method>
<method name="get_network_connected_peers" qualifiers="const">