summaryrefslogtreecommitdiff
path: root/core/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/array.h')
-rw-r--r--core/array.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/array.h b/core/array.h
index 7c6fc59048..e549a886e6 100644
--- a/core/array.h
+++ b/core/array.h
@@ -71,6 +71,7 @@ public:
Array &sort();
Array &sort_custom(Object *p_obj, const StringName &p_function);
+ void shuffle();
int bsearch(const Variant &p_value, bool p_before = true);
int bsearch_custom(const Variant &p_value, Object *p_obj, const StringName &p_function, bool p_before = true);
Array &invert();
@@ -87,7 +88,7 @@ public:
Variant pop_back();
Variant pop_front();
- Array duplicate() const;
+ Array duplicate(bool p_deep = false) const;
Array(const Array &p_from);
Array();