diff options
Diffstat (limited to 'ecs/src/query.rs')
-rw-r--r-- | ecs/src/query.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/query.rs b/ecs/src/query.rs index e7fd7a6..69bb35d 100644 --- a/ecs/src/query.rs +++ b/ecs/src/query.rs @@ -15,7 +15,6 @@ use crate::component::{ Metadata as ComponentMetadata, Sequence as ComponentSequence, }; -use crate::entity::Uid as EntityUid; use crate::lock::{ReadGuard, WriteGuard}; use crate::query::options::Options; use crate::system::{ @@ -23,6 +22,7 @@ use crate::system::{ Param as SystemParam, System, }; +use crate::uid::Uid; use crate::{EntityComponent, World}; pub mod options; @@ -86,7 +86,7 @@ where /// Returns the UID of the entity at the given query iteration index. #[must_use] - pub fn entity_uid(&self, entity_index: usize) -> Option<EntityUid> + pub fn get_entity_uid(&self, entity_index: usize) -> Option<Uid> { Some( self.component_storage |