Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: XboxNotificationView

[16:7] extends: NotificationView

Wraps FXGL's XboxNotificationView (com.almasb.fxgl.notification.view.XboxNotificationView), a concrete NotificationView styled after the Xbox One achievement popup. No constructor arguments; once registered with the NotificationService, FXGL drives the lifecycle automatically.

Methods

  • XboxNotificationView ()

    Creates a new XboxNotificationView.

  • adopt (object Ajo)

    Wraps an existing XboxNotificationView AussomJavaObject.

    • @p Ajo is an AussomJavaObject around an XboxNotificationView.
    • @r A new wrapper.
  • playInAnimation ()

    Triggers the Xbox-style intro animation.

  • playOutAnimation ()

    Triggers the Xbox-style outro animation.

  • push (object NotificationAjo)

    Pushes a Notification into the view. The view animates it via the Xbox achievement-popup style.

  • onUpdate (double Tpf)

    Per-frame lifecycle hook called by the engine.