This is a fork of Artemis Entity System Framework.
- More efficient for loops, bounds checking performed once during loop initialization.
- processEntities forgoes Bag's getter in favor of direct array access.
- No more classes instantiated every time World.process is run.
- Systems can be enabled/disabled, see
EntitySystem.setEnabled(boolean)
andEntitySystem.isEnabled()
. - Bag now sports
sort
; borrows libGDX's TimSort implementation. - Foreach-friendly Bag: implements a one instance per Bag iterator.
<dependency>
<groupId>net.onedaybeard.artemis</groupId>
<artifactId>artemis-odb</artifactId>
<version>0.4.0</version>
</dependency>
Agrotera uses annotations to configure EntitySystems, removing the need for defining Aspects inside constructors and takes care of injecting ComponentMappers, Managers and EntitySystems. Can also simulate aspects for Managers and inject profiling calls.
- Sine by @timtipgames