Added playSound func, use this on attack

This commit is contained in:
2025-02-06 21:00:32 +01:00
parent 122a178feb
commit c2d41a63a7
9 changed files with 22 additions and 10 deletions

View File

@ -77,7 +77,6 @@ const tileCategories = ref<Map<string, string>>(new Map())
const selectedGroup = ref<{ parent: Tile; children: Tile[] } | null>(null)
const tiles = ref<Tile[]>([])
function startDragging(event: MouseEvent) {
isDragging.value = true
const startX = event.clientX