More organization of header

This commit is contained in:
David Markowitz
2023-06-17 02:39:33 -07:00
parent 68a5cc1d89
commit 1bdec00a61
11 changed files with 61 additions and 59 deletions

View File

@@ -17,7 +17,7 @@ void WaveBossApe::OnStartup(Entity* self) {
combatAIComponent->SetStunImmune(true);
}
self->AddToGroups("boss");
self->AddGroup("boss");
BaseEnemyApe::OnStartup(self);
}

View File

@@ -11,7 +11,7 @@ void WaveBossHammerling::OnStartup(Entity* self) {
combatAIComponent->SetStunImmune(true);
}
self->AddToGroups("boss");
self->AddGroup("boss");
}
void WaveBossHammerling::OnFireEventServerSide(Entity* self, Entity* sender, std::string args, int32_t param1,

View File

@@ -11,7 +11,7 @@ void WaveBossHorsemen::OnStartup(Entity* self) {
combatAIComponent->SetStunImmune(true);
}
self->AddToGroups("boss");
self->AddGroup("boss");
}
void

View File

@@ -11,7 +11,7 @@ void WaveBossSpiderling::OnStartup(Entity* self) {
combatAIComponent->SetStunImmune(true);
}
self->AddToGroups("boss");
self->AddGroup("boss");
}
void WaveBossSpiderling::OnFireEventServerSide(Entity* self, Entity* sender, std::string args, int32_t param1,

View File

@@ -123,7 +123,7 @@ void NtCombatChallengeServer::OnChildLoaded(Entity* self, Entity* child) {
EntityManager::Instance()->SerializeEntity(child);
child->AddToGroups("targets_" + std::to_string(self->GetObjectID()));
child->AddGroup("targets_" + std::to_string(self->GetObjectID()));
}
void NtCombatChallengeServer::ResetGame(Entity* self) {

View File

@@ -51,7 +51,7 @@ void EnemySpiderSpawner::OnTimerDone(Entity* self, std::string timerName) {
Entity* newEntity = EntityManager::Instance()->CreateEntity(info, nullptr);
if (newEntity) {
EntityManager::Instance()->ConstructEntity(newEntity);
newEntity->AddToGroups("BabySpider");
newEntity->AddGroup("BabySpider");
/*
auto* movementAi = newEntity->GetComponent<MovementAIComponent>();