diff options
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r-- | ecs/src/component.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 023be86..7a997c5 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -5,7 +5,7 @@ use std::ops::{Deref, DerefMut}; use seq_macro::seq; use crate::system::{Input as SystemInput, Param as SystemParam, System}; -use crate::ComponentStorage; +use crate::WorldData; pub trait Component: SystemInput + Any { @@ -167,7 +167,7 @@ where fn new<SystemImpl>( system: &'world mut impl System<SystemImpl>, - _component_storage: &'world mut ComponentStorage, + _world_data: &'world mut WorldData, ) -> Self { let local_component = system |