Basics
Guides
API Reference
Basics
Guides
API Reference
[15:7] extends: FxObj
Wraps FXGL's Level (com.almasb.fxgl.entity.level.Level), the value object returned by every LevelLoader. Holds the level's pixel dimensions, the list of entities, and a PropertyMap of level-scoped variables.
Level (int Width = 0, int Height = 0, list Entities)
Creates a new Level with the given dimensions and entity list.
Width is the level width in pixels.Height is the level height in pixels.Entities is a list of Entity wrappers.adopt (object Ajo)
Wraps an existing Level AussomJavaObject.
getWidth ()
Returns the level width in pixels.
getHeight ()
Returns the level height in pixels.
getEntities ()
Returns the entities as a list of Entity wrappers.
getProperties ()
Returns the level-scoped PropertyMap.

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