Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
andreakarasho committed May 21, 2024
1 parent 689201f commit 4227501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ var sword = ecs.Entity()
woodenChest.Set<Contents>(sword);

// Grab all relationships of type (Contents, *)
ecs.Each<With<(Contents, Wildcard)>>((EntityView entity) =>
ecs.Each<ValueTuple, With<(Contents, Wildcard)>>((EntityView entity) =>
Console.WriteLine($"I'm {entity.ID} and I'm a child of the wooden chest!"));
```

Expand Down
2 changes: 1 addition & 1 deletion samples/MyBattleground/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
});


ecs.Query<With<Networked>>()
ecs.Query<ValueTuple, With<Networked>>()
.Each((EntityView asd) => {
Console.WriteLine("networked entity {0}", asd.ID);
});
Expand Down

0 comments on commit 4227501

Please sign in to comment.