Basics
Guides
API Reference
Basics
Guides
API Reference
[18:7] extends: Effect
Wraps FXGL's SlowTimeEffect (com.almasb.fxgl.dsl.effects.SlowTimeEffect), a built-in Effect that scales the entity's TimeComponent.value by a ratio for a fixed duration. A ratio of 0.5 makes the entity's local time run half as fast. Requires a TimeComponent on the affected Entity.
SlowTimeEffect (double Ratio = 0.5, double DurationSeconds = 1.0)
Creates a new SlowTimeEffect.
Ratio is the time-scale ratio in 0..1.DurationSeconds is the effect lifetime in seconds.adopt (object Ajo)
Wraps an existing SlowTimeEffect AussomJavaObject.
getRatio ()
Returns the configured ratio (double).
isFinished ()
Returns true once the effect's duration has elapsed.

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