Releases: libgdx/ashley
Releases · libgdx/ashley
1.7.4
ashley 1.7.3
- API addition: Adds 'createComponent()' method to
Engine
class. Commit 07fc2ba. - API addition: Adds 'createEntity()' method to
Engine
class. Commit 45dd7e0. - API addition: Adds 'addAndReturn()' method to
Entity
class. Commit 423148a. - Bug fix: Fixes systems going out of priority order after removal. Issue #237.
- Bug fix: Fixes returning pooled entity to the entity pool twice. Issue #221.
- Update: uses Travis for CI. Commit c4265ef.
- Update: uses Libgdx 1.9.4.
ashley-1.7.2
ashley-1.7.1
- API addition: expose
IntervalSystem
interval value (read-only). Commit 5277cbe. - Bug fix: fixed pending entity operations not being processed in the right order. Issue #197.
- Bug fix: fixed adding component in empty family
EntityListener
causing wrongEntityListener
calls. Issue #203. - Bug fix: fixed some entity operations not being performed under special circumstances. Commit c45ba3b.
- Internals: split Engine internals into loosely coupled, single responsibility smaller classes. Issue #178.
- Update: uses Libgdx 1.8.0
ashley-1.7.0
- API change: removed UUIDs from entities, users should implement their own ID system when needed. This helps with networked games. Issue #182.
- Update: components are added/removed immediately, listeners are notified after the current system finishes updating. Commit 84de679.
- Bug fix: fixed entity listeners not being called if a component is added inside another listener. Commit b611dd9.
- Bug fix: does not allocate memory inside
updateFamilyMembership()
. Commit 9ae5e45. - Update: uses Libgdx 1.7.1. Commit 4799007.
ashley-1.6.0
- API change:
Component
is now an interface. Issue #170. - API addition: adds
getEngine()
toEntitySystem
. Issue #167. - API addition:
EntityListeners
now are notified by priority order. Commit f9152e6. - API consistency: defines what happens when an
Entity
is added twice to anEngine
and when we try do nested updates. We throw an exception in both cases. Issue #173. - API consistency: adding an
EntitySystem
of the same class twice replaces the previous one, just like it has always happened when addingComponents
to anEntity
. Commit 1dbfcb4. - Update: uses Libgdx 1.6.4. Commit 0284510.
ashley-1.5.0
- API addition: adds
getFamily()
method toIntervalIteratingSystem
andIteratingSystem
. Commit 55241f5. - API change:
IntervalSystem
'supdate()
method is nowfinal
, as it doesn't make sense to override it. Commit bffa44c. - Update: updated Libgdx version to 1.6.0. Commit 9b0eb90.
- Enhancement: allows
IntervalSystem
to update faster than the main loop. Issue #151. - Enhancement: improved
hashCode()
andequals()
implementation ofFamily
. Commit b01cb15. - Bug fix: fixed GWT build and made a Jenkins job to make sure we also test GWT integrity. Commit e2be43e.
- Bug fix: empty
Family
now matches empty entities. Commit db1286f.
ashley-1.4.0
- API deprecation: finally removed the
Family.getFor()
methods. In order to retrieve a family, you can doFamily.all().one().exclude().get()
. Commit d6222d9. - API change: makes family
Builder
package protected. Issue #137. - Bug fix:
EntityOperation
andComponentOperation
are now properly reset when put back into their pools. This doesn't affect the API at all and it's an implementation detail fix. Commit 356cf40. - Bug fix: fixes
PooledEngine
always returning new components. Commit eff243f. - Bug fix: fixes GWT build. Issue #135.
- Bug fix: avoids removing a
PooledEntity
twice. Commit cf7a020.
ahsley-1.3.3
- API addition: added
getEntity()
method toEngine
, it is now possible to retrieve entities by their ID. This will ease networked entity systems. Commit 1c21f97. - API addition: added
getEntities()
method toEngine
, which returns an immutable array of all the entities registered with said engine. Commit ed3d3b7. - Bug fix: remove old component when adding a new one of the same type to an entity. Commit 3910be7.
- Bug fix: fixes component not being added to an entity when done from an
entityRemoved()
family entity listener handler. Commit 9f6aa51.
ashley-1.3.2
- API: we now use a builder pattern to create
Family
objects. More about it on the wiki. Commit addition974f12f6d53c5d92992ddd6bf09edd44937d9e66. - API addition: new
SortedIteratingSystem
by Lusito. Commit 905b268. - API addition: now
ImmutableArray
implements theIterable
interface, which makes it a lot easier to iterate over entity collections. Commit c39b097. - Bug fix: avoid double entity removal by accident. Commit 1c861a2.
- Bug fix: fixes
StackOverflowError
when processing entity operations. Issue #103. - Bug fixes: fixes freeze when calling
removeAllEntities()
. Issue #101. - Improvement: we made a bunch of changes that increase performance.