04 - monster slayer game/prj-monster-01-starting-setup/app.js
@@ -10,7 +10,14 @@ monsterHealth: 100, }; }, computed: {}, computed: { monsterBarStyle(){ return {width: this.monsterHealth + '%'} }, playerBarStyle(){ return {width: this.playerHealth + '%'} }, }, watch: {}, methods: { attackMonster() {