adds dummy impls for targeted behaviours

This commit is contained in:
2019-06-12 15:34:52 +02:00
parent 022b97520f
commit eeb297215a
5 changed files with 90 additions and 19 deletions

View File

@@ -19,6 +19,13 @@ export const store = {
state: {
player_id: 0,
show_player_chest: false,
// methods
isPlayer () {
this.player_id != 0
},
isGroup () {
this.player_id == 0
},
},
setActivePlayer (newPlayerId) {
if (this.debug) console.log('setActivePlayer to ', newPlayerId)