From 0bc0eeb94b9e5b4600dc84f8e2fcf686a58921df Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 29 Jul 2024 12:56:36 +0200 Subject: refactor(ecs): rename system::Param handle_pre_run fn to prepare --- ecs/src/system.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ecs/src/system.rs') diff --git a/ecs/src/system.rs b/ecs/src/system.rs index aaf09fb..ba5ac96 100644 --- a/ecs/src/system.rs +++ b/ecs/src/system.rs @@ -61,7 +61,7 @@ macro_rules! impl_system { fn prepare(&self, world_data: &WorldData) { #( - TParam~I::handle_pre_run(world_data); + TParam~I::prepare(world_data); )* } @@ -217,7 +217,7 @@ pub unsafe trait Param<'world> fn get_comparable() -> Box; - fn handle_pre_run(_world_data: &WorldData) {} + fn prepare(_world_data: &WorldData) {} } pub struct NoInitParamFlag {} -- cgit v1.2.3-18-g5258