Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: SweetSpotView

[14:7] extends: MiniGameView

Wraps FXGL's SweetSpotView (com.almasb.fxgl.minigames.sweetspot.SweetSpotView), the 400x90 panel that renders a SweetSpotMiniGame. Click the panel to lock in the cursor.

Methods

  • SweetSpotView (MiniGameObj = null)

    Creates a new SweetSpotView. Pass null (or no arg) to use the FXGL default SweetSpotMiniGame.

    • @p MiniGameObj is a SweetSpotMiniGame wrapper or null.
  • adopt (object Ajo)

    Wraps an existing SweetSpotView AussomJavaObject.

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