diff options
Diffstat (limited to 'ecs/src/archetype.rs')
-rw-r--r-- | ecs/src/archetype.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/archetype.rs b/ecs/src/archetype.rs index 808d006..5c104b7 100644 --- a/ecs/src/archetype.rs +++ b/ecs/src/archetype.rs @@ -1,10 +1,10 @@ use std::hash::{DefaultHasher, Hash, Hasher}; use crate::component::{ - Id as ComponentId, IsOptional as ComponentIsOptional, Metadata as ComponentMetadata, }; +use crate::uid::Uid; /// Archetype ID. #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] @@ -33,7 +33,7 @@ impl Id } /// Returns the ID of a archetype with the given components. - fn new(component_ids: impl IntoIterator<Item = ComponentId>) -> Self + fn new(component_ids: impl IntoIterator<Item = Uid>) -> Self { let mut hasher = DefaultHasher::new(); |