Add onLayoutOpened API callback

This commit is contained in:
GriffinR
2025-03-14 23:24:17 -04:00
parent 4b1332609e
commit e6f4e64aa4
8 changed files with 82 additions and 46 deletions

View File

@@ -13,6 +13,11 @@ export function onMapOpened(mapName) {
}
// Called when a layout is opened, either by selecting a new map/layout in the map list or swapping the layout for the current map.
export function onLayoutOpened(layoutName) {
}
// Called when a block is changed on the map. For example, this is called when a user paints a new tile or changes the collision property of a block.
export function onBlockChanged(x, y, prevBlock, newBlock) {