mirror of
https://github.com/Ukendio/jecs.git
synced 2025-07-06 14:49:17 +00:00
Add exclusive relations (#250)
* Add exclusive relationship * Remove focus * Remove whitespace * Make ChildOf exclusive * Test exclusive relation perf * Inline into world:add * Inline into world:set * Fix benchmark of remove
This commit is contained in:
parent
13facc3719
commit
b425150b0c
1 changed files with 14 additions and 0 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -2,6 +2,20 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
- `jecs.Exclusive` trait for making exclusive relationships.
|
||||
|
||||
### Changed
|
||||
- `jecs.Child` to be an exclusive relationship, which means you can only have one `ChildOf` pair on an entity.
|
||||
|
||||
## 0.7.2
|
||||
### Added
|
||||
- `jecs.entity_index_try_get_fast` back as to not break the observer addon.
|
||||
|
||||
### Fixed
|
||||
- A linting problem with the types for `quer:with` and `query:without`.
|
||||
|
||||
|
||||
## 0.7.0
|
||||
|
||||
### Added
|
||||
|
|
Loading…
Reference in a new issue