Docs coming soon :)
Static methods
staticget_decal_layer (data:LevelData, name:String):DecalLayer
Get Decal Layer data matching a given name
Parameters:
data | |
---|---|
name |
Returns:
DecalLayer
staticget_entity_data (data:ProjectData, name:String):ProjectEntityData
Get matching Entity data from a given name
Parameters:
data | |
---|---|
name |
Returns:
ProjectEntityData
staticget_entity_layer (data:LevelData, name:String):EntityLayer
Get Entity Layer data matching a given name
Parameters:
data | |
---|---|
name |
Returns:
EntityLayer
staticget_grid_layer (data:LevelData, name:String):TileLayer
Get Grid Layer data matching a given name
Parameters:
data | |
---|---|
name |
Returns:
TileLayer
staticget_layer_data (data:ProjectData, name:String):ProjectLayerData
Get matching Layer data from a given name
Parameters:
data | |
---|---|
name |
Returns:
ProjectLayerData
staticget_tile_layer (data:LevelData, name:String):TileLayer
Get Tile Layer data matching a given name
Parameters:
data | |
---|---|
name |
Returns:
TileLayer
staticget_tileset_data (data:ProjectData, name:String):ProjectTilesetData
Get matching Tileset data from a given name
Parameters:
data | |
---|---|
name |
Returns:
ProjectTilesetData
staticload_decals (layer:DecalLayer, fn:DecalData ‑> Void):Void
Perform a function using all decals in a given layer
Parameters:
layer | |
---|---|
null | fn |
staticload_entities (layer:EntityLayer, fn:EntityData ‑> Void):Void
Perform a function using all entities in a given layer
Parameters:
layer | |
---|---|
null | fn |
staticparse_level_json (json:String):LevelData
Parse OGMO Editor level .json text
Parameters:
json |
---|
Returns:
LevelData
staticparse_project_json (json:String):ProjectData
Parse OGMO Editor Project .ogmo text
Parameters:
json |
---|
Returns:
ProjectData