Basics
Guides
API Reference
Basics
Guides
API Reference
[20:7] extends: Component
Wraps FXGL's AccumulatedUpdateComponent (com.almasb.fxgl.dsl.components.AccumulatedUpdateComponent), the abstract base for components whose onAccumulatedUpdate is called every (numFramesToSkip + 1) frames. Concrete subclasses (e.g. OffscreenPauseComponent) override onAccumulatedUpdate. This wrapper is abstract; instantiate it through one of the concrete subclass wrappers or via adopt().
AccumulatedUpdateComponent ()
Empty default constructor; populate with adopt().
adopt (object Ajo)
Wraps an existing AccumulatedUpdateComponent AussomJavaObject.
getNumFramesToSkip ()
Returns the current frame-skip count (int).
setNumFramesToSkip (int N)
Sets the frame-skip count. A value of 0 calls onAccumulatedUpdate every frame; a value of 1 calls every other frame, and so on.
N is the number of frames to skip between updates.this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.