* Delete an existing shield at the requested index. * @param {number} shieldIndex - Position of the shield in the array of shields on this sign to delete.
(shieldIndex,number)
| 155 | * @param {number} shieldIndex - Position of the shield in the array of shields on this sign to delete. |
| 156 | */ |
| 157 | deleteShield(shieldIndex,number) { |
| 158 | if (number != -1) { |
| 159 | this.subPanels[number].shields.splice(shieldIndex, 1); |
| 160 | } else { |
| 161 | this.shields.splice(shieldIndex, 1); |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * Creates a new subpanel |
no outgoing calls
no test coverage detected