Removed unused imports, re-added paint func, more refactor work
This commit is contained in:
@ -53,6 +53,10 @@ export function setAllTiles(zone: Tilemap, layer: TilemapLayer, tiles: string[][
|
||||
})
|
||||
}
|
||||
|
||||
export function createTileArray(width: number, height: number, tile: string = 'blank_tile') {
|
||||
return Array.from({ length: height }, () => Array.from({ length: width }, () => tile))
|
||||
}
|
||||
|
||||
export const calculateIsometricDepth = (x: number, y: number, width: number = 0, height: number = 0, isCharacter: boolean = false) => {
|
||||
const baseDepth = x + y
|
||||
if (isCharacter) {
|
||||
|
Reference in New Issue
Block a user