mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
Add onLayoutOpened API callback
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user