We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 989e443 commit 59ff0b0Copy full SHA for 59ff0b0
1 file changed
src/utils/Utils.js
@@ -80,7 +80,7 @@ Phaser.Utils = {
80
* Returns true or false based on the chance value (default 50%). For example if you wanted a player to have a 30% chance
81
* of getting a bonus, call chanceRoll(30) - true means the chance passed, false means it failed.
82
*
83
- * @method Phaser.Math#chanceRoll
+ * @method Phaser.Utils#chanceRoll
84
* @param {number} chance - The chance of receiving the value. A number between 0 and 100 (effectively 0% to 100%).
85
* @return {boolean} True if the roll passed, or false otherwise.
86
*/
0 commit comments