feat: add Activateable in Lightkeeper

This commit is contained in:
2026-10-17 17:00:00 +02:00
parent 89a168f76d
commit 70c940c476
13 changed files with 354 additions and 5 deletions
@@ -0,0 +1,11 @@
#include <components/Activatable.h>
void Activatable::Activate(GameObject& instigator)
{
if (!isEnabled() || IsBeingDestroyed()) {
return;
}
OnActivate(instigator);
OnActivated.Invoke(instigator);
}