15 lines
363 B
Vue
15 lines
363 B
Vue
<template>
|
|
<ZoneObject v-for="zoneObject in zoneStore.zone?.zoneObjects" :tilemap="tilemap" :zoneObject />
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useZoneStore } from '@/stores/zoneStore'
|
|
import ZoneObject from '@/components/zone/partials/ZoneObject.vue'
|
|
|
|
const zoneStore = useZoneStore()
|
|
|
|
defineProps<{
|
|
tilemap: Phaser.Tilemaps.Tilemap
|
|
}>()
|
|
</script>
|