1
0
forked from noxious/client

Replaced modal resize icon, started writing components for character type management, spride field made optional

This commit is contained in:
2024-10-19 02:15:48 +02:00
parent 68222ab511
commit a0f0b40ed3
11 changed files with 315 additions and 16 deletions

View File

@ -83,7 +83,9 @@ export const sortByIsometricDepth = <T extends { positionX: number; positionY: n
})
}
export const clearAssets = (scene: Phaser.Scene) => {}
export const clearAssets = (scene: Phaser.Scene) => {
scene.load.destroy()
}
export const loadAssets = (scene: Phaser.Scene): Promise<void> => {
return new Promise((resolve) => {