diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-26 09:28:12 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-26 09:28:12 +0100 |
commit | 07ac07ce4cafe8ec454a1e53b1541dcaab10cf40 (patch) | |
tree | def28215f182f750bc4ff6d892455f7ce0dd6eb2 /src/crepe/ComponentManager.h | |
parent | f52e7e1450d47604983dba5f3cbab364ffd77cdc (diff) |
It is now possible to reset the persistent flag
Diffstat (limited to 'src/crepe/ComponentManager.h')
-rw-r--r-- | src/crepe/ComponentManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/ComponentManager.h b/src/crepe/ComponentManager.h index 8462698..480124f 100644 --- a/src/crepe/ComponentManager.h +++ b/src/crepe/ComponentManager.h @@ -106,8 +106,9 @@ protected: * components will not be deleted. * * \param id The id of the GameObject to set as persistent + * \param persistent The persistent flag */ - void set_persistent(game_object_id_t id); + void set_persistent(game_object_id_t id, bool persistent); public: /** |