Fix imports using prelude

wip/graph
copygirl 2 months ago
parent 0f81adccbb
commit a6403802fc
  1. 2
      src/ecs/archegraph.rs
  2. 2
      src/ecs/archetable.rs
  3. 3
      src/ecs/world.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 {

@ -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 {

@ -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;

Loading…
Cancel
Save