Update README.md

This commit is contained in:
Christian Treffs 2018-01-06 11:07:52 +01:00 committed by GitHub
parent d6c8a67f21
commit ad6deab984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ Create a family by calling `.family` with a set of traits on the nexus.
A family that containts only entities with a `Movement` and `PlayerInput` component, but no `Texture` component is created by A family that containts only entities with a `Movement` and `PlayerInput` component, but no `Texture` component is created by
```swift ```swift
let family = nexus.family(requiresAll: [Movement.self, PlayerInput.self], excludesAll: [Texture.self], any: [Name.self]) let family = nexus.family(requiresAll: [Movement.self, PlayerInput.self], excludesAll: [Texture.self], any: [Name.self])
``` ```
These entities are cached in the nexus for efficient access and iteration. These entities are cached in the nexus for efficient access and iteration.