diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-06 17:13:59 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-06 17:13:59 +0100 |
commit | f4824f5e7e6cee12bec602f3240770945a73d043 (patch) | |
tree | 7d51652e5395ca70f995c0d059c36e1dd18bd8ae /src/crepe/api | |
parent | 0bed469e2ececfa240085a34252dd7ed23519de3 (diff) |
add more fetching functions to ComponentManager
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Script.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h index 1b339b0..5862bae 100644 --- a/src/crepe/api/Script.h +++ b/src/crepe/api/Script.h @@ -85,6 +85,13 @@ 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; + + /** * \brief Log a message using Log::logf * * \tparam Args Log::logf parameters |