(e)
| 257 | } |
| 258 | |
| 259 | changeMapCol(e) { |
| 260 | let t = parseInt(e.target.value); |
| 261 | t = t > 30 ? 30 : t < 4 ? 4 : t; |
| 262 | t = Math.max(t, this.state.numRow); |
| 263 | this.setState({ tempCol: t }); |
| 264 | this.adjustMap(this.state.numRow, t, this.createEmptyMap(this.state.numRow, t)); |
| 265 | } |
| 266 | |
| 267 | handleAddAgent(e) { |
| 268 | e.preventDefault(); |
no test coverage detected