dartemis 0.4.1 dartemis: ^0.4.1 copied to clipboard
An Entity System Framework for game development. Based on Artemis.
Changelog #
##0.4.1
Bugfixes #
World.deleteAllEntites()
did not work if there was already a deleted entity- writing to the
Bag
by index doesn't make it smaller anymore
##0.4.0
API Changes #
- swapped parameters of
Tagmanager.register
- replaced
ImmutableBag
withReadOnlyBag
, added getter forReadOnlyBag
toBag
- changed
FreeComponents
toObjectPool
- old
Component
has changed, there are two different kinds of components now:- instances of classes extending
ComponentPoolable
will be added to theObjectPool
when they are removed from anEntity
(preventing garbage collection and allowing reuse) - instances of classes extending
Component
will not be added to theObjectPool
when they are removed from anEntity
(allowing garbage collection)
- instances of classes extending
Enhancements #
- added function
deleteAllEntities
toWorld
IntervalEntitySystem
has a getter for thedelta
since the systm was processed last- updated to work with Dart M4
Bugfixes #
GroupManager.isInGroup
works if entity is in no group