(e)
| 286 | } |
| 287 | |
| 288 | changeMapCol(e) { |
| 289 | let t = parseInt(e.target.value); |
| 290 | t = t > 30 ? 30 : t < 4 ? 4 : t; |
| 291 | t = Math.max(t, this.state.numRow); |
| 292 | this.setState({ tempCol: t }); |
| 293 | this.adjustMap(this.state.numRow, t, this.createEmptyMap(this.state.numRow, t)); |
| 294 | } |
| 295 | |
| 296 | handleAddAgent(e) { |
| 297 | e.preventDefault(); |
no test coverage detected