Use better naming

- Remove use of Base.  It is implied if you inherit that the class inherited from is a Base.
- Fix compilation errors from said change.
This commit is contained in:
David Markowitz
2023-06-25 22:00:01 -07:00
parent 9121bf41c5
commit ec9278286b
14 changed files with 1179 additions and 1191 deletions

View File

@@ -3,7 +3,7 @@
#include "PossessableComponent.h"
#include "PossessorComponent.h"
#include "EntityManager.h"
#include "RacingControlComponent.h"
#include "VehicleRacingControlComponent.h"
#include "dZoneManager.h"
void RaceMaelstromGeiser::OnStartup(Entity* self) {
@@ -59,11 +59,9 @@ void RaceMaelstromGeiser::OnProximityUpdate(Entity* self, Entity* entering, std:
auto* zoneController = dZoneManager::Instance()->GetZoneControlObject();
auto* racingControlComponent = zoneController->GetComponent<RacingControlComponent>();
auto* vehicleRacingControlComponent = zoneController->GetComponent<VehicleRacingControlComponent>();
if (racingControlComponent != nullptr) {
racingControlComponent->OnRequestDie(player);
}
if (vehicleRacingControlComponent) vehicleRacingControlComponent->OnRequestDie(player);
}
void RaceMaelstromGeiser::OnTimerDone(Entity* self, std::string timerName) {