Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FxObj
Wraps FXGL's DataFile (com.almasb.fxgl.profile.DataFile), the top-level container for a single save's data. A DataFile holds a map of Bundle by name; each subsystem owns one Bundle and reads/writes its values there during save/load.
DataFile ()
Creates a new empty DataFile.
adopt (object Ajo)
Wraps an existing DataFile AussomJavaObject.
Ajo is an AussomJavaObject around a DataFile.A new wrapper.putBundle (object BundleObj)
Stores the given Bundle in the data file. Throws if a bundle with the same name already exists.
BundleObj is a Bundle wrapper.this objectgetBundle (string Name)
Returns the Bundle with the given name, wrapped as a Bundle wrapper. Throws if not present.
Name is the bundle name.A Bundle wrapper.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.