(parentIndex,arrowIndex)
| 110 | } |
| 111 | |
| 112 | deleteArrow(parentIndex,arrowIndex) { |
| 113 | var selectedArrow; |
| 114 | |
| 115 | for (const arrow of this.arrows) { |
| 116 | if (arrow.parentIndex == parentIndex && arrow.arrowIndex == arrowIndex) { |
| 117 | selectedArrow = arrow; |
| 118 | break; |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | this.arrows.splice(this.arrows.indexOf(selectedArrow),1); |
| 123 | } |
| 124 | |
| 125 | newShield(number) { |
| 126 | const newShield = new Shield(); |
nothing calls this directly
no outgoing calls
no test coverage detected