moves logic to PlayerView, adds simple notifications when debugging

This commit is contained in:
2019-07-31 15:37:35 +02:00
parent e07b236313
commit dae7633c11
5 changed files with 35 additions and 12 deletions

View File

@@ -60,11 +60,11 @@
methods: {
// The active player claims the item
putRequest () {
AppStorage.putRequest(this.item)
this.$emit("claim", this.item);
},
// The active player withdraws his request
cancelRequest () {
AppStorage.cancelRequest(this.item)
this.$emit("unclaim", this.item);
},
// The active player insist on his claim
// TODO: Find a simple and fun system to express