dartemis 0.4.2
dartemis: ^0.4.2 copied to clipboard
An Entity System Framework for game development. Based on Artemis.
Changelog #
##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