Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: CircuitBreakerResult

[15:7] extends: MiniGameResult

Wraps FXGL's CircuitBreakerResult (com.almasb.fxgl.minigames.circuitbreaker.CircuitBreakerResult), the MiniGameResult produced by the CircuitBreaker minigame. The only field is the inherited isSuccess flag (set true when the player reaches the end point).

Methods

  • CircuitBreakerResult (IsSuccess = null)

    Creates a new CircuitBreakerResult. Pass null to construct an empty wrapper for adopt.

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

    Wraps an existing CircuitBreakerResult AussomJavaObject.

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