Optimized Lists. Added pool.added and .removed. Added entity:ensure

This commit is contained in:
Justin van der Leij 2018-10-02 21:52:23 +02:00
parent e2b7af87fd
commit 11255fd722
7 changed files with 104 additions and 48 deletions

8
TODO Normal file
View file

@ -0,0 +1,8 @@
[x] Modify pools and list to be more efficient
[x] Rework Entity:give to remove any previous component and re-add it.
[x] Add Entity:ensure (maybe?)
[ ] Put pools in the Instance and invert dependency.
[ ] Share pools between systems
[ ] Remove System callbacks
[x] Put .added and .removed in pools so they can be iterated over
[ ] Implement assemblages