From 815d04da602c58ed8b13eeb612fe73180204039d Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 26 Feb 2024 20:05:27 +0100 Subject: fix(ecs): make Component trait not automatic & add derive macro --- ecs/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecs/src/lib.rs') 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 { -- cgit v1.2.3-18-g5258