Map editor teleport enhancements

This commit is contained in:
2025-02-16 21:18:06 +01:00
parent af5a97f66d
commit bfb2bcb939
6 changed files with 12 additions and 16 deletions

View File

@ -3,7 +3,7 @@ import { useGameStore } from '@/stores/gameStore'
import { ref } from 'vue'
export type TeleportSettings = {
toMapId: string
toMap: string
toPositionX: number
toPositionY: number
toRotation: number
@ -21,7 +21,7 @@ const movingPlacedObject = ref<PlacedMapObject | null>(null)
const selectedPlacedObject = ref<PlacedMapObject | null>(null)
const shouldClearTiles = ref(false)
const teleportSettings = ref<TeleportSettings>({
toMapId: '1000',
toMap: '1000',
toPositionX: 0,
toPositionY: 0,
toRotation: 0