shuffle
shuffle<
Item>(world,list):Item[]
Shuffles list in place from the world’s stream and returns it, as
Godot’s Array.shuffle and Roblox’s Random:Shuffle do: a deck, a
draft or a turn order that a continue shuffles as the room did.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Item |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
list |
Item[] |
Returns
Section titled “Returns”Item[]