mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Fix typos
This commit is contained in:
parent
e8f7f59a80
commit
8f45a2b2be
2 changed files with 4 additions and 4 deletions
|
@ -181,9 +181,9 @@ for (const [id] of world.query(pair(Likes, jecs.Wildcard))) {
|
|||
|
||||
Wildcards may used for the relationship or target part of a pair
|
||||
|
||||
```c
|
||||
"pair(Likes, jecs.Wildcard)" // Matches all Likes relationships
|
||||
"pair(jecs.Wildcard, Alice)" // Matches all relationships with Alice as target
|
||||
```luau
|
||||
pair(Likes, jecs.Wildcard) -- Matches all Likes relationships
|
||||
pair(jecs.Wildcard, Alice) -- Matches all relationships with Alice as target
|
||||
```
|
||||
|
||||
## Relationship performance
|
||||
|
|
Loading…
Reference in a new issue