Skip to content

Commit 8dcd61a

Browse files
committed
Correct comments Phaser.ArrayUtils
Replace Phaser.Math => Phaser.ArrayUtils in the comments of the class Phaser.ArrayUtils
1 parent 8ef32f0 commit 8dcd61a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/utils/ArrayUtils.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Phaser.ArrayUtils = {
215215
* Create an array representing the inclusive range of numbers (usually integers) in `[start, end]`.
216216
* This is equivalent to `numberArrayStep(start, end, 1)`.
217217
*
218-
* @method Phaser.Math#numberArray
218+
* @method Phaser.ArrayUtils#numberArray
219219
* @param {number} start - The minimum value the array starts with.
220220
* @param {number} end - The maximum value the array contains.
221221
* @return {number[]} The array of number values.
@@ -242,28 +242,28 @@ Phaser.ArrayUtils = {
242242
* Certain values for `start` and `end` (eg. NaN/undefined/null) are currently coerced to 0;
243243
* for forward compatibility make sure to pass in actual numbers.
244244
*
245-
* @method Phaser.Math#numberArrayStep
245+
* @method Phaser.ArrayUtils#numberArrayStep
246246
* @param {number} start - The start of the range.
247247
* @param {number} end - The end of the range.
248248
* @param {number} [step=1] - The value to increment or decrement by.
249249
* @returns {Array} Returns the new array of numbers.
250250
* @example
251-
* Phaser.Math.numberArrayStep(4);
251+
* Phaser.ArrayUtils.numberArrayStep(4);
252252
* // => [0, 1, 2, 3]
253253
*
254-
* Phaser.Math.numberArrayStep(1, 5);
254+
* Phaser.ArrayUtils.numberArrayStep(1, 5);
255255
* // => [1, 2, 3, 4]
256256
*
257-
* Phaser.Math.numberArrayStep(0, 20, 5);
257+
* Phaser.ArrayUtils.numberArrayStep(0, 20, 5);
258258
* // => [0, 5, 10, 15]
259259
*
260-
* Phaser.Math.numberArrayStep(0, -4, -1);
260+
* Phaser.ArrayUtils.numberArrayStep(0, -4, -1);
261261
* // => [0, -1, -2, -3]
262262
*
263-
* Phaser.Math.numberArrayStep(1, 4, 0);
263+
* Phaser.ArrayUtils.numberArrayStep(1, 4, 0);
264264
* // => [1, 1, 1]
265265
*
266-
* Phaser.Math.numberArrayStep(0);
266+
* Phaser.ArrayUtils.numberArrayStep(0);
267267
* // => []
268268
*/
269269
numberArrayStep: function(start, end, step) {

0 commit comments

Comments
 (0)