We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9379714 commit 9234fd1Copy full SHA for 9234fd1
1 file changed
src/math/random-data-generator/RandomDataGenerator.js
@@ -85,7 +85,7 @@ var RandomDataGenerator = new Class({
85
* @type {array}
86
* @since 3.0.0
87
*/
88
- this.sign = [ -1, 1 ];
+ this.signs = [ -1, 1 ];
89
90
if (seeds)
91
{
@@ -171,7 +171,7 @@ var RandomDataGenerator = new Class({
171
172
/**
173
* Reset the seed of the random data generator.
174
- *
+ *
175
* _Note_: the seed array is only processed up to the first `undefined` (or `null`) value, should such be present.
176
*
177
* @method Phaser.Math.RandomDataGenerator#sow
@@ -356,7 +356,7 @@ var RandomDataGenerator = new Class({
356
357
sign: function ()
358
359
- return this.pick(this.sign);
+ return this.pick(this.signs);
360
},
361
362
0 commit comments