Add sort and has methods to PackedArrays
This commit is contained in:
parent
141ce4d1f9
commit
af80bcd2f8
14 changed files with 460 additions and 11 deletions
|
|
@ -44,6 +44,15 @@
|
|||
Returns [code]true[/code] if the array is empty.
|
||||
</description>
|
||||
</method>
|
||||
<method name="has">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="value" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] if the array contains [code]value[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="insert">
|
||||
<return type="int">
|
||||
</return>
|
||||
|
|
@ -107,6 +116,13 @@
|
|||
Returns the size of the array.
|
||||
</description>
|
||||
</method>
|
||||
<method name="sort">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
Sorts the elements of the array in ascending order.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue