summaryrefslogtreecommitdiff
path: root/ecs/src/phase.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-05-21 17:55:20 +0200
committerHampusM <hampus@hampusmat.com>2026-05-21 17:55:20 +0200
commit8022e8998290b067b8aa0cb9cba8ba410826bdab (patch)
tree7171e79ce530e03079046ee8fd12167160c45480 /ecs/src/phase.rs
parent412cee02c252f91bcf0b70a3f5cc5fca6d2b4c62 (diff)
chore: rename ecs* crates to engine-ecs*
Diffstat (limited to 'ecs/src/phase.rs')
-rw-r--r--ecs/src/phase.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/ecs/src/phase.rs b/ecs/src/phase.rs
deleted file mode 100644
index e8d9b71..0000000
--- a/ecs/src/phase.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-use ecs_macros::Component;
-
-use crate::{World, declare_entity};
-
-#[derive(Debug, Default, Clone, Copy, Component)]
-pub struct Phase;
-
-declare_entity!(pub START, (Phase,));
-declare_entity!(pub PRE_UPDATE, (Phase,));
-declare_entity!(pub UPDATE, (Phase,));
-declare_entity!(pub POST_UPDATE, (Phase,));
-
-pub(crate) fn spawn_entities(world: &mut World)
-{
- world.create_declared_entity(&START);
- world.create_declared_entity(&PRE_UPDATE);
- world.create_declared_entity(&UPDATE);
- world.create_declared_entity(&POST_UPDATE);
-}
-
-#[derive(Debug, Component)]
-pub(crate) struct HasSystem;