Phaser API Documentation

  Version: 
shuffle([array])

Description:

Shuffles the given array, using the current seed.

Parameters:

name type arguments description
array Array.<T> <optional>

The array to be shuffled.

Returns:
Description:

The shuffled array.

Type:
  • Array.<T>