Added option to set rotation on teleport tiles

This commit is contained in:
2024-09-23 14:02:00 +02:00
parent 2f555636bc
commit 0f01a4ec7c
4 changed files with 35 additions and 28 deletions

View File

@ -6,6 +6,7 @@ type TeleportSettings = {
toZoneId: number
toPositionX: number
toPositionY: number
toRotation: number
}
export const useZoneEditorStore = defineStore('zoneEditor', {
@ -36,7 +37,8 @@ export const useZoneEditorStore = defineStore('zoneEditor', {
teleportSettings: {
toZoneId: 0,
toPositionX: 0,
toPositionY: 0
toPositionY: 0,
toRotation: 0
}
}),
actions: {