MCPcopy Create free account
hub / github.com/StevenLyt/mapf-visualizer / adjustMap

Method adjustMap

src/LAMAPFVisualizer.jsx:88–102  ·  view source on GitHub ↗
(height, width, map)

Source from the content-addressed store, hash-verified

86 }
87
88 adjustMap(height, width, map) {
89 this.setState({
90 numRow: height,
91 numCol: width,
92 map: map,
93 agents: [],
94 numAgents: 0,
95 addedSRow: null,
96 addedSCol: null,
97 addedGRow: null,
98 addedGCol: null,
99 addedHeight: null,
100 addedWidth: null,
101 });
102 }
103 componentDidMount() {}
104
105 componentWillUnmount() {}

Callers 3

changeMapRowMethod · 0.95
changeMapColMethod · 0.95
renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected