pierreyoda / micropolis-rs

The classic Micropolis (Sim City 1) game rewritten in Rust and React, with WebAssembly support.
Other
21 stars 1 forks source link

Topic 6 Basic Toolbox Design #15

Closed pierreyoda closed 3 years ago

pierreyoda commented 3 years ago

6 Basic Toolbox Design

Closes #6.

image

Also refactored its inner workings by adding the ToolboxActionID type, and handling a current selection state from the props.