diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-10 19:24:46 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-10 19:24:46 +0100 |
commit | 4414fe5079b44d5bbcbba89bb1e71ce01b949226 (patch) | |
tree | bba8287de88f5eeca992f000ee425c067d616ce0 /src/crepe/api/Script.h | |
parent | 1e5c6c5cf0d1be976e0e59099ddcfc62940ef1be (diff) | |
parent | 0cb7f2f82ca167656b3c5cb9f0cc3b44c59cb0eb (diff) |
merge master
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 3417bb4..668e5d1 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 |