ensureCapacity(int)
for allBag
implementations- Removed GWT support (for now at least)
- Removed libGDX dependency
- Fix:
Bag.set(int)
no longer treats the0
value specially
- Fix:
OutOfMemoryError
due to never-reset inserted component list
- Revised
Wire
API and semanticsWire
is inherited from superclass- An exception is always thrown when a field is not handled by a resolver
Wire.Ignore
->SkipWire
EntitySystem.setEngine(Engine)
is nowEntitySystem.setup()
Engine.getEntitiesFor(FamilyConfig)
is nowEngine.getFamily(FamilyConfig).getEntities()
- Reset method for
Engine
(Engine.reset()
) - Enhanced
EntitySetListener
API- Renamed to
EntityListener
inserted(IntArray)
->inserted(EntitySet)
removed(IntArray)
->removed(EntitySet)
- Renamed to
Engine.addEntityListener(EntityListener)
Engine.removeEntityListener(EntityListener)
Family.addListener(EntityListener)
Family.removeListener(EntityListener)
- Revised
Mask
APIMask.getWord(int)
Mask.getWordCount()
Mask.set(long[])
Mask.setWord(int, long)
Mask.getWords()
Mask.isEmpty()
- Removed 'Mask.push(int)'
- Removed 'Mask.pop(int)'
- Revised
EntitySet
API- Modification delegated to
EntitySetEdit
EntitySet.addEntities(IntArray)
removedEntitySet.removeEntities(IntArray)
removedEntitySet.addEntities(Mask)
checks existing entitiesEntitySet.removeEntities(Mask)
checks existing entities
EntitySet.edit()
returnsEntitySetEdit
or throws an exception if unmodifiableEntitySet.unmodifiable()
renamed toEntitySet.view()
EntitySet.size()
EntitySet.isEmpty()
- Listeners are no longer supported,
EntityListener
is used for family events.
- Modification delegated to
DependencyConfig
andDependencyResolver
removedHandle
removedtoString()
implementation forEntitySet
RetinazerException
as a general-purpose runtime exception- Fix: EntitySet indices were invalidated even when there was no change
- Fix:
IndexOutOfBoundsException
when negative index is used forBag.get
- Fix: No more global state, different engines running in different threads should work.
- Made
Mask#getIndices(IntArray)
append elements to the array. - Fixed issue where destroying an entity didn't remove it's components
- Updated to libgdx 1.6.5
- Initial release