-
Make your plans!
+
Make your plans!
(in the final version you can choose any map as the background)
(sketch = c)}
- lineColor={color}
- lineWidth={5}
- width={1280}
- height={720}
- /*width={
- this.state.controlledSize ? this.state.sketchWidth : null
- }
- height={
- this.state.controlledSize ? this.state.sketchHeight : null
- }*/
- /*defaultValue={dataJson}*/
- /*value={controlledValue}*/
- /*forceValue*/
- onChange={onSketchChange}
- tool={tool}
- />
+ name="sketch"
+ className="canvas-area"
+ ref={c => (sketch = c)}
+ lineColor={color}
+ lineWidth={5}
+ width={1280}
+ height={720}
+ /*width={
+ this.state.controlledSize ? this.state.sketchWidth : null
+ }
+ height={
+ this.state.controlledSize ? this.state.sketchHeight : null
+ }*/
+ /*defaultValue={dataJson}*/
+ /*value={controlledValue}*/
+ /*forceValue*/
+ onChange={onSketchChange}
+ tool={tool}
+ />
-
+
-
Tools
-
setTool(value)}
- options={tools}
- selection
- value={tool}
- />
-
- setColor(newColor.hex)}
- />
-
+
+
+ setColor(newColor.hex)}
+ />
+
+
+ Tools
+ setTool(value)}
+ options={tools}
+ selection
+ value={tool}
+ />
+
+
+ Add text
+ setText(e.target.value)}
+ />
+
+
+
+
Choose a weapon to add
-