Hexworks / zircon

Zircon is an extensible and user-friendly, multiplatform tile engine.
https://hexworks.org/projects/zircon/
Apache License 2.0
753 stars 137 forks source link

Refactor builders to use prototypes with defaults. #352

Closed adam-arold closed 3 years ago

adam-arold commented 3 years ago

Currently there are many fields in a builder that correspond to fields in the object that is being built. In case of configurations this is redundant as the object has sensible defaults and it can be used as a prototype.