A new Ashley package has shipped, making 1.6.0 the latest stable version. Here's the summary of the changes:
- API change:
Componentis now an interface. - API addition: adds
getEngine()toEntitySystem. - API addition:
EntityListenersnow are notified by priority order. - API consistency: defines what happens when an
Entityis added twice to anEngineand when we try do nested updates. We throw an exception in both cases. - API consistency: adding an
EntitySystemof the same class twice replaces the previous one, just like it has always happened when addingComponentsto anEntity. - Update: uses Libgdx 1.6.4.
Note that this version introduces API breaking changes. However, fixing your
code will be trivial. To use it, change your dependency to com.badlogicgames.gdx:ashley:1.6.0.
The new nightly dependency is com.badlogicgames.gdx:ashley:1.6.1-SNAPSHOT. As usual,
all unit tests are passing and
the wiki is up to date. Please keep up the good work sending more pull requests and reporting bugs.