(row, col)
| 563 | } |
| 564 | |
| 565 | updateWall(row, col) { |
| 566 | if (this.state.map[row][col].agent === -1 && !this.state.isPlanning && !this.state.isPlanned) { |
| 567 | var newMap = this.state.map.slice(); |
| 568 | newMap[row][col] = { |
| 569 | ...newMap[row][col], |
| 570 | isWall: !newMap[row][col].isWall, |
| 571 | }; |
| 572 | this.setState({ map: newMap }); |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | startNewTask() { |
| 577 | this.setState( |
no outgoing calls
no test coverage detected