dartemis 0.7.1
dartemis: ^0.7.1 copied to clipboard
An Entity System Framework for game development. Based on Artemis.
Changelog #
##0.7.1
Internal #
- upgraded dependencies
##0.7.0
Breaking API Changes #
- renamed
PoolabletoPooled - renamed
ComponentPoolabletoPooledComponent - removed
FastMathandUtils, unrelated to ECS - removed
removeAllfromBag timeandframegetters have been moved fromWorldtoEntitySystem,Worldhas methods instead
API Changes #
- deprecated
ComponentMapperuseMapperinstead - deprecated
ComponentMapper#get(Entity), useMapper[Entity]instead - properties have been added to the
World, can be accessed using the[]operator Systems can be assigned to a group when adding them to theWorld,Word.process()can be called for a specific group
Enhancements #
- performance improvement when removing entities
Bugfixes #
- DelayedEntityProcessingSystem keeps running until all current entities have expired
Internal #
- upgraded dependencies
##0.6.0
API Changes #
BagisIterable- removed
ReadOnlyBag, when upgrading to 0.6.0 replace every occurence ofReadOnlyBagwithIterable
##0.5.2
Enhancements #
- injection works for
Managers initialize()in theManageris no longer abstract (same as inEntitySystem)World.createEntitygot an optional paramter to create anEntitywith components- new function
World.createAndAddEntitywhich adds theEntityto the world after creation
Bugfixes #
- added getter for the
WorldinManager - the uniqueId of an
Entitywas always 0, not very unique
##0.5.1
Internal #
- added version constraint for release of Dart
##0.5.0
Enhancements #
- more injection, less boilerplate (when using dartemis_mirrors)
- Instances of
ComponentMapperno longer need to be created in theinitialize-method of a system, they will be injected Managers andEntitySystems no longer need to be requested from theWorldin theinitialize-method of a system, they will be injected
- Instances of
##0.4.2
Bugfixes #
EntityManager.isEnabled()no longer fails if the bag of disabled entities is smaller than the id of the checked entity
Enhancements #
- added getters for current
timeandframetoWorld
##0.4.1
Bugfixes #
World.deleteAllEntites()did not work if there was already a deleted entity- writing to the
Bagby index doesn't make it smaller anymore
##0.4.0
API Changes #
- swapped parameters of
Tagmanager.register - replaced
ImmutableBagwithReadOnlyBag, added getter forReadOnlyBagtoBag - changed
FreeComponentstoObjectPool - old
Componenthas changed, there are two different kinds of components now:- instances of classes extending
ComponentPoolablewill be added to theObjectPoolwhen they are removed from anEntity(preventing garbage collection and allowing reuse) - instances of classes extending
Componentwill not be added to theObjectPoolwhen they are removed from anEntity(allowing garbage collection)
- instances of classes extending
Enhancements #
- added function
deleteAllEntitiestoWorld IntervalEntitySystemhas a getter for thedeltasince the systm was processed last- updated to work with Dart M4
Bugfixes #
GroupManager.isInGroupworks if entity is in no group