1
0
forked from noxious/client
This commit is contained in:
2024-08-22 20:00:29 +02:00
parent 2211824832
commit 5a03080a0e
19 changed files with 442 additions and 421 deletions

View File

@ -3,9 +3,9 @@ import { useGameStore } from '@/stores/game'
import type { Zone, Object, Tile, ZoneObject } from '@/types'
type TeleportSettings = {
x: number
y: number
zoneId: number
toZoneId: number
toPositionX: number
toPositionY: number
}
export const useZoneEditorStore = defineStore('zoneEditor', {
@ -28,9 +28,9 @@ export const useZoneEditorStore = defineStore('zoneEditor', {
isCreateZoneModalShown: false,
isSettingsModalShown: false,
teleportSettings: {
x: 0,
y: 0,
zoneId: 0
toZoneId: 0,
toPositionX: 0,
toPositionY: 0
}
}),
actions: {