From a6403802fc65b7429544f45c1d44c57b14777395 Mon Sep 17 00:00:00 2001 From: copygirl Date: Fri, 27 Sep 2024 11:03:18 +0200 Subject: [PATCH] Fix imports using prelude --- src/ecs/archegraph.rs | 2 +- src/ecs/archetable.rs | 2 +- src/ecs/world.rs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) 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;