diff --git a/src/ecs/archegraph.rs b/src/ecs/archegraph.rs index f62c37c..e339355 100644 --- a/src/ecs/archegraph.rs +++ b/src/ecs/archegraph.rs @@ -2,9 +2,9 @@ use std::alloc::Layout; use std::collections::{HashMap, HashSet}; use super::archetable::{Archetable, EntityRow}; +use super::archetype::Archetype; use super::component::Component; use super::entity::Entity; -use super::prelude::Archetype; use super::world::World; pub struct Archegraph { diff --git a/src/ecs/archetable.rs b/src/ecs/archetable.rs index 9418c3d..3bf607d 100644 --- a/src/ecs/archetable.rs +++ b/src/ecs/archetable.rs @@ -1,8 +1,8 @@ use std::alloc::Layout; use super::archetype::Archetype; +use super::component::Component; use super::entity::Entity; -use super::prelude::Component; use super::utility::RawComponentVec; pub struct Archetable { diff --git a/src/ecs/world.rs b/src/ecs/world.rs index 7f00fe2..a9e1bcb 100644 --- a/src/ecs/world.rs +++ b/src/ecs/world.rs @@ -2,9 +2,8 @@ use std::alloc::Layout; use std::any::TypeId; use std::collections::HashMap; -use crate::ecs::prelude::Archetype; - use super::archegraph::{Archegraph, GraphEntityIndex}; +use super::archetype::Archetype; use super::entity::{Entity, EntityId}; use super::entity_index::EntityIndex;