NSSTC / sim-ecs

Batteries included TypeScript ECS
https://nsstc.github.io/sim-ecs/
Mozilla Public License 2.0
84 stars 12 forks source link

Provide default de-/serializers #17

Closed minecrawler closed 3 years ago

minecrawler commented 4 years ago

Many built-in Prototypes might work just by themselves, however providing a default handler will stabilize the process and take away boilerplate, so that users only need to implement what matters to them.

On that note, the default one might even be helper, which lets the user register components and how to handle them, which will probably make the code a lot nicer...