From b50760306bd08fd55679dbdbf9fc02a5d50a08ad Mon Sep 17 00:00:00 2001 From: Hirek193 Date: Sun, 15 Mar 2026 00:05:57 +0100 Subject: [PATCH] Replace summaries for Get for components --- entitysystem/ecs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entitysystem/ecs.h b/entitysystem/ecs.h index 1ed2f948..ff521060 100644 --- a/entitysystem/ecs.h +++ b/entitysystem/ecs.h @@ -82,9 +82,9 @@ class ECS final } /// - /// Adds component of type T to entity, forwarding provided arguments to component constructor. If component already exists, it will be replaced. + /// Returns entity's component /// - /// Component type + /// type /// Entity to which component will be added /// Reference to added component template T &Get(entt::entity entity) @@ -93,9 +93,9 @@ class ECS final } /// - /// Adds component of type T to entity, forwarding provided arguments to component constructor. If component already exists, it will be replaced. + /// Returns entity's component /// - /// Component type + /// type /// Entity to which component will be added /// Reference to added component template const T &Get(entt::entity entity) const