(height, width, map)
| 98 | } |
| 99 | |
| 100 | adjustMap(height, width, map) { |
| 101 | console.log("adjustMap"); |
| 102 | console.log(height, width); |
| 103 | this.setState({ |
| 104 | numRow: height, |
| 105 | numCol: width, |
| 106 | map: map, |
| 107 | agents: [], |
| 108 | numAgents: 0, |
| 109 | startToAdd: false, |
| 110 | goalToAdd: false, |
| 111 | addedSRowClick: null, |
| 112 | addedSColClick: null, |
| 113 | }); |
| 114 | } |
| 115 | |
| 116 | componentDidMount() {} |
| 117 |