Basics
Guides
API Reference
Basics
Guides
API Reference
[17:7] extends: Component
Wraps an AussomDoubleComponent (concrete subclass of FXGL's abstract DoubleComponent). Exposes a double value backed by a JavaFX DoubleProperty plus standard Component lifecycle methods inherited from Component. Attach to an Entity via entity.addComponent.
DoubleComponent (double InitialValue = 0.0)
Creates a new DoubleComponent with the given initial value.
InitialValue is the starting double (defaults to 0.0).adopt (object Ajo)
Wraps an existing AussomDoubleComponent AussomJavaObject.
getValue ()
Returns the current double value.
setValue (double Val)
Sets the double value.
Val is the new double.this objectvalueProperty ()
Returns the underlying DoubleProperty for binding.
write (object BundleObj)
Persists this component's value into a Bundle.
read (object BundleObj)
Restores this component's value from a Bundle.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.