Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: RandomOccurrenceResult

[14:7] extends: MiniGameResult

Wraps FXGL's RandomOccurrenceResult (com.almasb.fxgl.minigames.randomoccurrence.RandomOccurrenceResult), the MiniGameResult produced by the RandomOccurrence minigame. Carries only the inherited isSuccess flag.

Methods

  • RandomOccurrenceResult (IsSuccess = null)

    Creates a new RandomOccurrenceResult. Pass null for the adopt path.

    • @p IsSuccess is the success flag.
  • adopt (object Ajo)

    Wraps an existing RandomOccurrenceResult AussomJavaObject.

    • @p Ajo is an AussomJavaObject around a RandomOccurrenceResult.
    • @r A new wrapper.