PicoES v0.3.2
Bugfix
- Fixed #28
- Fixed entity indexing when adding components. Entities were being added to incorrect indexes. This was an issue that has existed since entities were indexed by components (since early versions of PicoES). It was covered by an additional check in versions <0.3.0, which was resulting in closer to O(n) performance in some cases, but the results produced were correct. In versions 0.3.0 and 0.3.1, the check did not exist, and it was possible for systems to receive undefined components. It has since been fixed by correctly updating the indexes, so everything is in the right place to start with.
Keeping this as a prerelease until more testing is done (even though there is 100% coverage again).