diff options
| author | HampusM <hampus@hampusmat.com> | 2026-05-21 17:55:20 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-05-21 17:55:20 +0200 |
| commit | 8022e8998290b067b8aa0cb9cba8ba410826bdab (patch) | |
| tree | 7171e79ce530e03079046ee8fd12167160c45480 /engine/src/windowing.rs | |
| parent | 412cee02c252f91bcf0b70a3f5cc5fca6d2b4c62 (diff) | |
Diffstat (limited to 'engine/src/windowing.rs')
| -rw-r--r-- | engine/src/windowing.rs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engine/src/windowing.rs b/engine/src/windowing.rs index e07ba3e..e34aaf0 100644 --- a/engine/src/windowing.rs +++ b/engine/src/windowing.rs @@ -8,16 +8,16 @@ use crossbeam_channel::{ TrySendError, bounded as bounded_channel, }; -use ecs::actions::Actions; -use ecs::component::Component; -use ecs::entity::obtainer::Obtainer as EntityObtainer; -use ecs::event::component::{Added, Changed, EventMatchExt, Removed}; -use ecs::pair::{ChildOf, Pair}; -use ecs::phase::{Phase, UPDATE as UPDATE_PHASE}; -use ecs::sole::Single; -use ecs::system::observer::Observe; -use ecs::uid::Uid; -use ecs::{Query, Sole, declare_entity}; +use crate::ecs::actions::Actions; +use crate::ecs::component::Component; +use crate::ecs::entity::obtainer::Obtainer as EntityObtainer; +use crate::ecs::event::component::{Added, Changed, EventMatchExt, Removed}; +use crate::ecs::pair::{ChildOf, Pair}; +use crate::ecs::phase::{Phase, UPDATE as UPDATE_PHASE}; +use crate::ecs::sole::Single; +use crate::ecs::system::observer::Observe; +use crate::ecs::uid::Uid; +use crate::ecs::{Query, Sole, declare_entity}; use raw_window_handle::{DisplayHandle, HandleError, HasDisplayHandle, WindowHandle}; use winit::application::ApplicationHandler; use winit::dpi::PhysicalPosition; @@ -74,9 +74,9 @@ declare_entity!( #[non_exhaustive] pub struct Extension {} -impl ecs::extension::Extension for Extension +impl crate::ecs::extension::Extension for Extension { - fn collect(self, mut collector: ecs::extension::Collector<'_>) + fn collect(self, mut collector: crate::ecs::extension::Collector<'_>) { collector.add_sole(Context::default()).ok(); collector.add_sole(Keyboard::default()).ok(); |
