diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-10 19:24:55 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-10 19:24:55 +0100 |
commit | 876746db205b259430b6b438227c986dbf0cb59d (patch) | |
tree | a0e8e573ca64b23a72f67725ad3efbe009892215 /src/crepe/api/Script.h | |
parent | 963c6c0d3e77c20ec2a2ca2b045bfae3e070702f (diff) | |
parent | 0cb7f2f82ca167656b3c5cb9f0cc3b44c59cb0eb (diff) |
Merge branch 'master' into loek/doxygen
Diffstat (limited to 'src/crepe/api/Script.h')
-rw-r--r-- | src/crepe/api/Script.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h index d99ab0e..49bdcf5 100644 --- a/src/crepe/api/Script.h +++ b/src/crepe/api/Script.h @@ -86,6 +86,25 @@ protected: RefVector<T> get_components() const; /** + * \copydoc ComponentManager::get_components_by_id + * \see ComponentManager::get_components_by_id + */ + template <typename T> + RefVector<T> get_components_by_id(game_object_id_t id) const; + /** + * \copydoc ComponentManager::get_components_by_name + * \see ComponentManager::get_components_by_name + */ + template <typename T> + RefVector<T> get_components_by_name(const std::string & name) const; + /** + * \copydoc ComponentManager::get_components_by_tag + * \see ComponentManager::get_components_by_tag + */ + template <typename T> + RefVector<T> get_components_by_tag(const std::string & tag) const; + + /** * \brief Log a message using Log::logf * * \tparam Args Log::logf parameters |