DarkflameServer/dScripts/02_server/Enemy/Survival/AgSurvivalMech.cpp
David Markowitz e2dfa1809d Replace all auto with auto*
For components
2023-06-09 01:27:05 -07:00

16 lines
338 B
C++

#include "AgSurvivalMech.h"
#include "DestroyableComponent.h"
void AgSurvivalMech::OnStartup(Entity* self) {
BaseWavesGenericEnemy::OnStartup(self);
auto* destroyable = self->GetComponent<DestroyableComponent>();
if (destroyable != nullptr) {
destroyable->SetFaction(4);
}
}
uint32_t AgSurvivalMech::GetPoints() {
return 200;
}