Releases: HexDecimal/python-tcod-ecs
Releases · HexDecimal/python-tcod-ecs
5.4.1
5.4.0
5.3.0
Added
- New query
.any_ofmethod. This was possible before but it is easier with this method.
5.2.4
Fixed
- Clearing an entity with inherited components no longer leaves the entity with missed components.
5.2.3
Fixed
- Clearing an entity with inherited tags no longer hangs.
5.2.2
Fixed
EntityComponents.popnow correctly returns defaults when the components are inherited instead of local.
5.2.1
Fixed
- Fixed type of default parameter for
EntityComponents.get.
5.2.0
Changed
- Queries are now truthy if they match any entity.
5.1.0
Changed
- Renamed
Worldto the more standard nameRegistryin multiple places.
Deprecated
Worldis nowRegistryWorldQueryis nowBoundQuery.worldattributes ofEntityandBoundQueryare now.registry
Fixed
- Updated
EntityComponents.__ior__type hints which were causing false positives.
5.0.0
Added
- Added the
tcod.ecs.IsAsentinel value. - Entities will automatically inherit components/tags/relations from entities they have an
IsArelationship with. #15 - Entities can be used as prefabs, use
Entity.instantiate()to make a new entities inheriting the base entities components/tags/relations.
Removed
tcod.ecs.query.Queryremoved due to a refactor.abstract_componentdecorator removed.
Fixed
- Fix for
x in Entity.relation_tags_manynot checking the correct values.