Tcod-ecs

Latest version: v5.2.3

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

Scan your dependencies

Page 1 of 4

5.2.3

Fixed

- Clearing an entity with inherited tags no longer hangs.

5.2.2

Fixed

- `EntityComponents.pop` now 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 `World` to the more standard name `Registry` in multiple places.

Deprecated

- `World` is now `Registry`
- `WorldQuery` is now `BoundQuery`
- `.world` attributes of `Entity` and `BoundQuery` are now `.registry`

Fixed

- Updated `EntityComponents.__ior__` type hints which were causing false positives.

5.0.0

Added

- Added the `tcod.ecs.IsA` sentinel value.
- Entities will automatically inherit components/tags/relations from entities they have an `IsA` relationship with. https://github.com/HexDecimal/python-tcod-ecs/pull/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.Query` removed due to a refactor.
- `abstract_component` decorator removed.

Fixed

- Fix for `x in Entity.relation_tags_many` not checking the correct values.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.