file: RandomOccurrenceMiniGame.aus

class: RandomOccurrenceMiniGame

[15:7] extends: MiniGame

Wraps FXGL's RandomOccurrenceMiniGame (com.almasb.fxgl.minigames.randomoccurrence.RandomOccurrenceMiniGame), a minigame that races a successFill bar against a failureFill bar; each tick a coin weighted by successChance picks which bar to grow. The first bar to reach 1.0 wins.

Methods