ecs: replace world.tick() with generic world.send(.tick) message passing
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a1eda25ec2
commit
2879ad58b0
3 changed files with 5 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ pub fn App(
|
|||
}
|
||||
|
||||
pub fn update(app: *@This()) !bool {
|
||||
app.engine.tick();
|
||||
app.engine.send(.tick);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue