diff --git a/src/utils/Utils.js b/src/utils/Utils.js index ac501e69..ccd6905a 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -38,9 +38,9 @@ Phaser.Utils = { * dir = 1 (left), 2 (right), 3 (both) * @method Phaser.Utils.pad * @param {string} str - The target string. - * @param {number} len - Description. - * @param {number} pad - the string to pad it out with (defaults to a space). - * @param {number} [dir=3] the direction dir = 1 (left), 2 (right), 3 (both). + * @param {number} len - The number of characters to be added. + * @param {number} pad - The string to pad it out with (defaults to a space). + * @param {number} [dir=3] The direction dir = 1 (left), 2 (right), 3 (both). * @return {string} The padded string */ pad: function (str, len, pad, dir) {