2026-10-28 18:04:20 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import type { BuildingType } from '~/types/game'
|
|
|
|
|
|
|
|
|
|
defineProps<{ type: BuildingType }>()
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<!-- The building glyph on its coloured square, for lists and the queue. -->
|
|
|
|
|
<template>
|
2026-10-28 19:22:53 +00:00
|
|
|
<span class="grid shrink-0 place-items-center rounded-sm border-2" :style="buildingTileStyle(type)">
|
2026-10-28 18:04:20 +00:00
|
|
|
<IconBuilding :type="type" class="size-[60%]" />
|
|
|
|
|
</span>
|
|
|
|
|
</template>
|