From ac6bbba1ebd077550502acc84ab7b9aa878ce4b9 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 16 Nov 2024 21:11:01 +0100 Subject: add TODO comment --- src/crepe/api/Script.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/crepe/api') diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h index 1435581..2b70379 100644 --- a/src/crepe/api/Script.h +++ b/src/crepe/api/Script.h @@ -51,6 +51,8 @@ protected: */ template T & get_component() const; + // TODO: make get_component calls for component types that can have more than 1 instance + // cause compile-time errors /** * \brief Get all components of type \c T on this game object (utility) -- cgit v1.2.3