G scripts

Removing extraneous includes from scripts that start with the letter G
This commit is contained in:
EmosewaMC 2022-06-22 23:50:50 -07:00
parent b0e7a31380
commit 3defd51441
5 changed files with 1 additions and 10 deletions

View File

@ -3,12 +3,9 @@
#include "Entity.h" #include "Entity.h"
#include "DestroyableComponent.h" #include "DestroyableComponent.h"
#include "EntityManager.h" #include "EntityManager.h"
#include "dLogger.h"
void GfBanana::SpawnBanana(Entity* self) void GfBanana::SpawnBanana(Entity* self)
{ {
Game::logger->Log("GfBanana", "Spawning banana\n");
auto position = self->GetPosition(); auto position = self->GetPosition();
const auto rotation = self->GetRotation(); const auto rotation = self->GetRotation();
@ -44,8 +41,6 @@ void GfBanana::OnStartup(Entity* self)
void GfBanana::OnHit(Entity* self, Entity* attacker) void GfBanana::OnHit(Entity* self, Entity* attacker)
{ {
Game::logger->Log("GfBanana", "Spawning cluster\n");
auto* destroyable = self->GetComponent<DestroyableComponent>(); auto* destroyable = self->GetComponent<DestroyableComponent>();
destroyable->SetHealth(9999); destroyable->SetHealth(9999);

View File

@ -1,4 +1,5 @@
#include "GfBananaCluster.h" #include "GfBananaCluster.h"
#include "Entity.h"
void GfBananaCluster::OnStartup(Entity* self) void GfBananaCluster::OnStartup(Entity* self)
{ {

View File

@ -1,11 +1,8 @@
#include "GfCampfire.h" #include "GfCampfire.h"
#include "GameMessages.h"
#include "RenderComponent.h" #include "RenderComponent.h"
#include "SkillComponent.h" #include "SkillComponent.h"
#include "MissionComponent.h" #include "MissionComponent.h"
#include "RenderComponent.h" #include "RenderComponent.h"
#include "ProximityMonitorComponent.h"
#include "EntityManager.h" #include "EntityManager.h"
void GfCampfire::OnStartup(Entity* self) { void GfCampfire::OnStartup(Entity* self) {

View File

@ -1,5 +1,4 @@
#include "GfJailWalls.h" #include "GfJailWalls.h"
#include "EntityManager.h"
#include "dZoneManager.h" #include "dZoneManager.h"
#include "GeneralUtils.h" #include "GeneralUtils.h"

View File

@ -2,7 +2,6 @@
#include "GameMessages.h" #include "GameMessages.h"
#include "EntityManager.h" #include "EntityManager.h"
#include "MissionComponent.h" #include "MissionComponent.h"
#include "MissionTaskType.h"
#include "RenderComponent.h" #include "RenderComponent.h"
void GfTikiTorch::OnStartup(Entity* self) { void GfTikiTorch::OnStartup(Entity* self) {