JaimeGensler / thyseus

An archetypal Entity Component System, built entirely in Typescript
MIT License
74 stars 3 forks source link

[entities] [table] [world] Rewrite Entities, empty tables #15

Closed JaimeGensler closed 1 year ago

JaimeGensler commented 1 year ago

This rewrites Entities and parts of Table and World to be a little cleaner conceptually and more readable. Most excitingly, this removes the two "nullish" tables and moves to one.

Fixes https://github.com/JaimeGensler/thyseus/issues/11 (cc @kayhhh) Also cc @3mcd because this potentially has some minor (easy to resolve) conflicts with Commands rewriting

Reviews/questions/comments are welcome but not expected!

Changes: