Tile asset management 90% done

This commit is contained in:
2024-07-02 21:53:50 +02:00
parent fc72c83f8d
commit 4c6978e0c0
13 changed files with 176 additions and 63 deletions

20
src/stores/gmPanel.ts Normal file
View File

@ -0,0 +1,20 @@
import { defineStore } from 'pinia'
import type { Character } from '@/types'
import config from '@/config'
export const useGmPanelStore = defineStore('gmPanel', {
state: () => ({
isOpen: false,
}),
actions: {
toggle() {
this.isOpen = !this.isOpen
},
open() {
this.isOpen = true
},
close() {
this.isOpen = false
},
}
})