Basics
Guides
API Reference
Basics
Guides
API Reference
[17:7] extends: AchievementEvent
Wraps FXGL's AchievementProgressEvent (com.almasb.fxgl.achievement.AchievementProgressEvent), the event fired on the EventBus when a numeric-value achievement makes progress. Carries the current value and the target value. Subscribe via the static PROGRESS() EventType helper, e.g. bus.addEventHandler(AchievementProgressEvent.PROGRESS(), cb);
AchievementProgressEvent (AchievementObj = null, double Value = 0.0, double Max = 0.0)
Creates a new AchievementProgressEvent. Pass null for the adopt path.
AchievementObj is an Achievement wrapper.Value is the current numeric value.Max is the target numeric value.adopt (object Ajo)
Wraps an existing AchievementProgressEvent AussomJavaObject.
Ajo is an AussomJavaObject around an AchievementProgressEvent.A new wrapper.getValue ()
Returns the current numeric value. @r A double.
getMax ()
Returns the target numeric value. @r A double.
PROGRESS ()
Returns the JavaFX EventType for progress events.
An AussomJavaObject around an EventType.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.