#146 : Set camera on player's position after loading into a zone

This commit is contained in:
2024-10-02 17:07:43 +02:00
parent 334ceaa8f3
commit 16a8435f7b
2 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,7 @@
import { useScene } from 'phavuer'
import { useGameStore } from '@/stores/gameStore'
import { useZoneStore } from '@/stores/zoneStore'
import { onBeforeMount, onBeforeUnmount, onMounted, ref } from 'vue'
import { onBeforeMount, onBeforeUnmount, ref } from 'vue'
import type { Character as CharacterT, Zone as ZoneT, ExtendedCharacter as ExtendedCharacterT } from '@/types'
import Tiles from '@/components/zone/Tiles.vue'
import Objects from '@/components/zone/Objects.vue'