module

GSDL::TileMapManager

Class methods

clear_all

Unloads all managed tile map assets from memory.

Source
get(id : Symbol) : TileMap
Source
get(key : String) : TileMap

Retrieves a loaded tile map by its key.

Source
load(key : String, path_key : String) : TileMap

Loads a tile map based on the mode (release/debug).

Source
load_from_memory(key : String, data : Bytes) : TileMap

Loads tile map from raw byte data and associates it with a key

Source
prune_dead_references

Housekeeping Maintenance Pass (Call during scene transitions)

Source
register_pair(key : Symbol, val : String)
Source
register_runtime(mappings : Hash(Symbol, String))
Source
register_runtime(mappings : NamedTuple)
Source
unload(key : String) : Nil

Unloads a specific tile map from memory.

Source

Macros

register(mappings)
Source