Map editor teleport enhancements

This commit is contained in:
2025-02-16 21:18:01 +01:00
parent f3e0d6e03a
commit b173a993f7
4 changed files with 55 additions and 18 deletions

View File

@ -11,7 +11,7 @@ export class BaseMap extends BaseEntity {
id = randomUUID()
@Property()
name!: string
name: string = ''
@Property()
width = 10
@ -19,7 +19,7 @@ export class BaseMap extends BaseEntity {
@Property()
height = 10
@Property({ type: 'json', nullable: true })
@Property({ type: 'json' })
tiles: Array<Array<string>> = []
@Property()