Repository navigation
dustArtemis-1.1.0
·
103 commits
to master
since this release
Updating to latest commits. Biggest changes in this release:
New Injector utility class, allows you to inject the following things:
- EntityObservers
- ComponentHandlers
- ImmutableIntBag views over the entities of other observers through @EntitiesOf annotation.
Optimizations like:
- ComponentHandler now combines ComponentManager and ComponentMapper functionality to have one centralized fast way to add/remove components from an entity (as long as you hold onto that handler reference that is).
- Now IdAllocator uses binary search when freeing ids (ie, much faster!).
- processEntities gets only called if there is actually something to process (consistent with 'inserted' and 'removed').
And other things like:
- World builder, which allows you to specify different orders for initialization and processing of EntityObservers (see World.builder() ).
- DustArtemis exception to validate quite a few things across the framework.
A thing that did went away were pooled components. Might reintroduce them after I have a good idea for an API but really you should do that kind of resource management on your own 😃