This commit is contained in:
Codrin Pavel
2020-05-23 07:27:11 +03:00
parent c4e6d61608
commit f4a45e36c0
36 changed files with 13514 additions and 20 deletions

View File

@@ -15,23 +15,5 @@ var calculator = new Vue({
'G9',
'G10',
]
},
computed: {
// Helps render enemy teams in order by power level
orderedEnemies: function () {
return orderByPower(this.map.enemySlots);
},
// Helps render allied teams in order by power level
orderedAllies: function () {
return orderByPower(this.map.ourSlots);
},
// Renders total team powers: hero, titan, total
getAllyPower: function () {
return getTotalPower(this.map.ourSlots);
},
// Renders total enemy team powers: hero, titan, total
getEnemyPower: function () {
return getTotalPower(this.map.enemySlots);
}
}
});