(number)
| 123 | } |
| 124 | |
| 125 | newShield(number) { |
| 126 | const newShield = new Shield(); |
| 127 | if (number != -1) { |
| 128 | this.subPanels[number].shields.push(newShield); |
| 129 | } else { |
| 130 | this.shields.push(newShield); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | duplicateShield(shieldIndex,number) { |
| 135 | const existingShield = this.subPanels[number].shields[shieldIndex]; |
no outgoing calls
no test coverage detected