aboutsummaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorGeorge Marques2015-10-20 14:31:30 -0200
committerGeorge Marques2015-10-20 14:31:30 -0200
commitbaa59c067031a790912239277f5fdff96193af7a (patch)
treed47d7ebd820512ce6f8c8b0709ddce037566aeca /doc/base/classes.xml
parenteefc2bf5f74b5aed5a6f25986f9380d3a410851e (diff)
downloadgodot-baa59c067031a790912239277f5fdff96193af7a.tar.gz
godot-baa59c067031a790912239277f5fdff96193af7a.tar.zst
godot-baa59c067031a790912239277f5fdff96193af7a.zip
Add missing reference documentation for Array class
Diffstat (limited to '')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index c789fc35e..9798aff0a 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -3766,6 +3766,7 @@
<argument index="0" name="value" type="var">
</argument>
<description>
+ Append an element at the end of the array (alias of [method push_back]).
</description>
</method>
<method name="clear">
@@ -3784,6 +3785,7 @@
<argument index="0" name="value" type="var">
</argument>
<description>
+ Remove the first occurence of a value from the array.
</description>
</method>
<method name="find">
@@ -3792,6 +3794,7 @@
<argument index="0" name="value" type="var">
</argument>
<description>
+ Searches the array for a value and returns its index or -1 if not found.
</description>
</method>
<method name="hash">
@@ -3812,12 +3815,14 @@
</method>
<method name="invert">
<description>
+ Reverse the order of the elements in the array (so first element will now be the last).
</description>
</method>
<method name="is_shared">
<return type="bool">
</return>
<description>
+ Get whether this is a shared array instance.
</description>
</method>
<method name="push_back">
@@ -3850,6 +3855,7 @@
</method>
<method name="sort">
<description>
+ Sort the array using natural order.
</description>
</method>
<method name="sort_custom">
@@ -3858,6 +3864,7 @@
<argument index="1" name="func" type="String">
</argument>
<description>
+ Sort the array using a custom method. The arguments are an object that holds the method and the name of such method. The custom method receives two arguments (a pair of elements from the array) and must return true if the first argument is less than the second, and return false otherwise.
</description>
</method>
<method name="Array">