@@ -8,14 +8,14 @@ var Class = require('../../utils/Class');
88
99/**
1010 * @classdesc
11- * [description]
11+ * A seeded random data generator.
1212 *
1313 * @class RandomDataGenerator
1414 * @memberOf Phaser.Math
1515 * @constructor
1616 * @since 3.0.0
1717 *
18- * @param {string[] } [seeds] - [description]
18+ * @param {string[] } [seeds] - The seeds.
1919 */
2020var RandomDataGenerator = new Class ( {
2121
@@ -79,7 +79,7 @@ var RandomDataGenerator = new Class({
7979 this . n = 0 ;
8080
8181 /**
82- * [description]
82+ * Signs to choose from.
8383 *
8484 * @name Phaser.Math.RandomDataGenerator#signs
8585 * @type {number[] }
@@ -100,7 +100,7 @@ var RandomDataGenerator = new Class({
100100 * @since 3.0.0
101101 * @private
102102 *
103- * @return {number } [description]
103+ * @return {number } A random number.
104104 */
105105 rnd : function ( )
106106 {
@@ -121,7 +121,7 @@ var RandomDataGenerator = new Class({
121121 * @since 3.0.0
122122 * @private
123123 *
124- * @param {string } data - [description]
124+ * @param {string } data - The value to hash.
125125 *
126126 * @return {number } The hashed value.
127127 */
@@ -150,12 +150,12 @@ var RandomDataGenerator = new Class({
150150 } ,
151151
152152 /**
153- * [description]
153+ * Initialize the state of the random data generator.
154154 *
155155 * @method Phaser.Math.RandomDataGenerator#init
156156 * @since 3.0.0
157157 *
158- * @param {(string|string[]) } seeds - [description]
158+ * @param {(string|string[]) } seeds - The seeds to initialize the random data generator with.
159159 */
160160 init : function ( seeds )
161161 {
@@ -456,7 +456,7 @@ var RandomDataGenerator = new Class({
456456 *
457457 * @method Phaser.Math.RandomDataGenerator#shuffle
458458 * @since 3.7.0
459- *
459+ *
460460 * @param {array } [array] - The array to be shuffled.
461461 *
462462 * @return {array } The shuffled array.
0 commit comments