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

Method handleAddAgentByClick

src/EECBSVisualizer.jsx:295–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293 }
294
295 handleAddAgentByClick() {
296 const color = randomColor();
297 console.log("clicked");
298 this.setState({ startToAdd: true, colorToAdd: color });
299 }
300
301 addAgent(color) {
302 this.setState({

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected