Fix typos

This commit is contained in:
Ukendio 2024-07-31 03:01:39 +02:00
parent e8f7f59a80
commit 8f45a2b2be
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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