Skip to content

Commit

Permalink
Fix typos in FlecsQueryLanguage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
james-j-obrien committed May 20, 2024
1 parent ed2a126 commit 8fee33d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/FlecsQueryLanguage.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Position, Velocity, Mass
### NotFrom
the `notfrom` operator allows a query to not match a list of components that another entity has. The entities used for the component list are typically prefabs, as they are not matched with queries themselves.

The following expression is an example of a query with an `andfrom` operator:
The following expression is an example of a query with an `notfrom` operator:

```swift
// Match entities with Position and not any of the components that MyType has
Expand All @@ -114,7 +114,7 @@ Position, !Velocity, !Mass
### OrFrom
the `orfrom` operator allows a query to match at least one of a list of components that another entity has. The entities used for the component list are typically prefabs, as they are not matched with queries themselves.

The following expression is an example of a query with an `andfrom` operator:
The following expression is an example of a query with an `orfrom` operator:

```swift
// Match entities with Position and at least one of the components that MyType has
Expand Down

0 comments on commit 8fee33d

Please sign in to comment.