diff options
author | HampusM <hampus@hampusmat.com> | 2024-02-26 20:05:27 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-02-26 20:16:27 +0100 |
commit | 815d04da602c58ed8b13eeb612fe73180204039d (patch) | |
tree | c3703e598656c070edbc271ccaa9117e071d6d4f /ecs/src/lib.rs | |
parent | 1019924a29527eba2c8ec8bd976ece6ed76075b0 (diff) |
fix(ecs): make Component trait not automatic & add derive macro
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r-- | ecs/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs index 84009e0..573aa41 100644 --- a/ecs/src/lib.rs +++ b/ecs/src/lib.rs @@ -18,6 +18,8 @@ use crate::system::{ pub mod component; pub mod system; +pub use ecs_macros::Component; + #[derive(Debug)] struct Entity { |