file: TextLevelLoader.aus

class: TextLevelLoader

[18:7] extends: FxObj

Wraps FXGL's TextLevelLoader (com.almasb.fxgl.entity.level.text.TextLevelLoader), the built-in loader that reads a level from a text grid file. Each cell character maps to an entity via the entity factory (@Spawns annotations on the EntityFactory). Construction takes the per-cell pixel size and the character representing an empty cell.

Methods