aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-16 21:11:01 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-16 21:11:01 +0100
commitac6bbba1ebd077550502acc84ab7b9aa878ce4b9 (patch)
tree168f9fd50e75e5444b902c6a5f3a4a1c678205c7
parentfc5dfd2873279d5003f8a02187a71b05a44892fa (diff)
add TODO comment
-rw-r--r--src/crepe/api/Script.h2
1 files changed, 2 insertions, 0 deletions
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 <typename T>
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)