From f4e4397364cef3536806cadd5f08e0317650eafc Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 7 Jun 2026 12:33:13 +0200 Subject: feat(engine-ecs): rename component::Type to Info & add name field --- engine-ecs/src/component.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine-ecs/src/component.rs') diff --git a/engine-ecs/src/component.rs b/engine-ecs/src/component.rs index f881128..2734731 100644 --- a/engine-ecs/src/component.rs +++ b/engine-ecs/src/component.rs @@ -334,7 +334,8 @@ impl Default for PartsBuilder } #[derive(Debug, Clone, Component)] -pub struct Type +pub struct Info { pub type_reflection: &'static crate::reflection::Type, + pub name: &'static str, } -- cgit v1.2.3-18-g5258