summaryrefslogtreecommitdiff
path: root/ecs/src/component.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-06-06 12:50:05 +0200
committerHampusM <hampus@hampusmat.com>2024-06-06 12:50:20 +0200
commitcb1ff29c8c7fa77bbb4e532eaa7e45df717a58ef (patch)
tree44cbc9c821609dc117b26369c3872386ab533f55 /ecs/src/component.rs
parent43079a8dc9e2b608f47c5919f45c1f1661f11a2e (diff)
refactor(ecs): move ComponentStorage to it's own module
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r--ecs/src/component.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/src/component.rs b/ecs/src/component.rs
index 63ef7c4..d3b00ef 100644
--- a/ecs/src/component.rs
+++ b/ecs/src/component.rs
@@ -10,6 +10,8 @@ use crate::EntityComponent;
pub mod local;
+pub(crate) mod storage;
+
pub trait Component: SystemInput + Any + TypeName
{
/// The component type in question. Will usually be `Self`