This repository has been archived on 2024-03-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
timekeeper/components/SpellButton.vue
2022-01-14 00:02:19 -08:00

34 lines
489 B
Vue

<template>
<progress-button
:label="spell.name"
:description="spell.description"
:max="100"
:value="$store.state.mana"
:current="current"
:next="next"
@click="doAction"
/>
</template>
<script>
export default {
props: {
spell: { type: Object, required: true },
},
computed: {
current() {
//
return undefined
},
next() {
//
return undefined
},
},
methods: {
cast() {
//
},
},
}
</script>