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

@ -48,7 +48,7 @@ pub fn App(
}
pub fn update(app: *@This()) !bool {
app.engine.tick();
app.engine.send(.tick);
return false;
}
};