ecs: replace world.tick() with generic world.send(.tick) message passing

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-03-26 08:43:38 -07:00 committed by Stephen Gutekanst
parent a1eda25ec2
commit 2879ad58b0
3 changed files with 5 additions and 5 deletions

View file

@ -83,5 +83,5 @@ test "example" {
try world.entities.setComponent(player2, .physics, .id, 1234);
try world.entities.setComponent(player3, .physics, .id, 1234);
world.tick();
world.send(.tick);
}