diff options
author | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-05-11 18:04:47 -0400 |
---|---|---|
committer | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-05-11 18:04:47 -0400 |
commit | d02ecd5a189a541395a586a1d9086fcf4d7a0acb (patch) | |
tree | caad4dba0940e77c2742815df0b74f6222600f31 /doc/classes | |
parent | 89c37dae490b8072a0997bbcab739c45ecb3044d (diff) |
updated description of Array.shuffle to properly describe that it uses the same common seed at every runtime, thus being reproducible in general
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Array.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index ecafc3514c..75194fbf76 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -291,7 +291,7 @@ </method> <method name="shuffle"> <description> - Shuffles the array such that the items will have a random order. + Shuffles the array such that the items will have a random order. This method uses the global random number generator common to methods such as [method @GDScript.randi]. Call [method @GDScript.randomize] to ensure that a new seed will be used each time if you want non-reproducible shuffling. </description> </method> <method name="size"> |