Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: TriggerMashView

[13:7] extends: MiniGameView

Wraps FXGL's TriggerMashView (com.almasb.fxgl.minigames.triggermash.TriggerMashView), the rectangular bar+letter rendering of a TriggerMashMiniGame.

Methods

  • TriggerMashView (KeyTriggerObj = null, MiniGameObj = null)

    Creates a new TriggerMashView. Construction requires a KeyTrigger; if MiniGameObj is null, FXGL builds its own default TriggerMashMiniGame from the trigger.

    • @p KeyTriggerObj is an AussomJavaObject around a KeyTrigger.
    • @p MiniGameObj is a TriggerMashMiniGame wrapper or null.
  • adopt (object Ajo)

    Wraps an existing TriggerMashView AussomJavaObject.

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