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

Method adjustMap

src/MAPFVisualizer.jsx:86–98  ·  view source on GitHub ↗
(height, width, map)

Source from the content-addressed store, hash-verified

84 }
85
86 adjustMap(height, width, map) {
87 this.setState({
88 numRow: height,
89 numCol: width,
90 map: map,
91 agents: [],
92 numAgents: 0,
93 startToAdd: false,
94 goalToAdd: false,
95 addedSRowClick: null,
96 addedSColClick: null,
97 });
98 }
99
100 setSpeed(speed) {
101 switch (speed) {

Callers 4

changeMapRowMethod · 0.95
changeMapColMethod · 0.95
renderMethod · 0.95
parseMapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected