Tcod-ecs

Latest version: v5.2.3

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

4.4.0

Added

- Added `WorldQuery.get_entities` for returning query results as a set.

Fixed

- Removed an optimization which would check the equality of component values, since this would fail when comparing some types such as NumPy arrays.
- Removed unintentional iteration behavior from `World`. https://github.com/HexDecimal/python-tcod-ecs/issues/8

4.3.1

Fixed

- Relation component lookup tables were replacing previous entries instead of adding to them.
- Relation ellipsis lookup tables were discarding entities which still had a relevant relation.

4.3.0

Added

- `tcod.ecs.typing.ComponentKey` is now stable.
- Can now register a callback to be called on component changes.

Fixed

- Fixed stale caches for relation components.

4.2.1

Fixed

- Unpickled worlds had reversed relations from what were saved.

4.2.0

Added

- `Entity.relation_components` now has `MutableMapping` functionality.
- You can now set the value of `Entity.relation_components[component_key] = {target: component}`.
- Added the `Entity.clear` method which effectively deletes an entity by removing its components/tags/relations.
This does not delete relations targeting the cleared entity.

4.1.0

Added

- Now supports giving a query to another relation query, allowing conditional and chained relation queries. https://github.com/HexDecimal/python-tcod-ecs/issues/1

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.