#include "AgDarklingMech.h" #include "DestroyableComponent.h" void AgDarklingMech::OnStartup(Entity *self) { auto* destroyableComponent = self->GetComponent(); if (destroyableComponent != nullptr) { destroyableComponent->SetFaction(4); } }