From ad6deab9849be0138fa116bf524e259cc244b612 Mon Sep 17 00:00:00 2001 From: Christian Treffs Date: Sat, 6 Jan 2018 11:07:52 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c816e01..17eb511 100644 --- a/README.md +++ b/README.md @@ -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 ```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.