diff options
| author | HampusM <hampus@hampusmat.com> | 2026-07-08 23:19:06 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-07-08 23:19:06 +0200 |
| commit | 213e4cfc698f0e0f9fcfbe43cf8c49f8f331e699 (patch) | |
| tree | 666b38f087985fa0ed6d85f3d046760b16666365 /engine-ecs/examples/error_handling.rs | |
| parent | 05063e79465a33eb156c25edf8193fd77ba24314 (diff) | |
refactor(engine-ecs): rename entity creation fns to use 'spawn' terminology
Diffstat (limited to 'engine-ecs/examples/error_handling.rs')
| -rw-r--r-- | engine-ecs/examples/error_handling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-ecs/examples/error_handling.rs b/engine-ecs/examples/error_handling.rs index 264b12f..2025914 100644 --- a/engine-ecs/examples/error_handling.rs +++ b/engine-ecs/examples/error_handling.rs @@ -66,7 +66,7 @@ fn main() world.set_err_handler(engine_ecs::error::err_handler_log_error); - world.create_entity((State { value: 0 },)); + world.spawn((State { value: 0 },)); world.register_system(*UPDATE, do_something_fallible); |
