mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
Fix typos
This commit is contained in:
parent
e8f7f59a80
commit
8f45a2b2be
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Query
|
# Query
|
||||||
|
|
||||||
A World contains entities which have components. The World is queryable and can be used to get entities with a specific set of components.
|
A World contains entities which have components. The World is queryable and can be used to get entities with a specific set of components.
|
||||||
|
|
||||||
|
|
|
@ -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
|
Wildcards may used for the relationship or target part of a pair
|
||||||
|
|
||||||
```c
|
```luau
|
||||||
"pair(Likes, jecs.Wildcard)" // Matches all Likes relationships
|
pair(Likes, jecs.Wildcard) -- Matches all Likes relationships
|
||||||
"pair(jecs.Wildcard, Alice)" // Matches all relationships with Alice as target
|
pair(jecs.Wildcard, Alice) -- Matches all relationships with Alice as target
|
||||||
```
|
```
|
||||||
|
|
||||||
## Relationship performance
|
## Relationship performance
|
||||||
|
|
Loading…
Reference in a new issue