phaser - v4.0.0-rc.4
    Preparing search index...
    • Moves the element at the end of the array to the start, shifting all items in the process. The "rotation" happens to the right.

      Parameters

      • array: any[]

        The array to shift to the right. This array is modified in place.

      • Optionaltotal: number

        The number of times to shift the array. Default 1.

      Returns any