aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 18:30:10 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 18:30:10 +0100
commit0006e959643f0150acd230b174287a85d4cb3255 (patch)
tree533780aa22de1e1768a22224e4626107ef71a62b /src/crepe/system
parent08d48aabac838a641ef918da92d9827b214e5da6 (diff)
added forward declaration and const reference sprite
Diffstat (limited to 'src/crepe/system')
-rw-r--r--src/crepe/system/ParticleSystem.cpp1
-rw-r--r--src/crepe/system/ParticleSystem.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/system/ParticleSystem.cpp b/src/crepe/system/ParticleSystem.cpp
index 33027f8..ad6699b 100644
--- a/src/crepe/system/ParticleSystem.cpp
+++ b/src/crepe/system/ParticleSystem.cpp
@@ -4,6 +4,7 @@
#include "api/ParticleEmitter.h"
#include "api/Vector2.h"
+#include "api/Transform.h"
#include "ComponentManager.h"
#include "ParticleSystem.h"
diff --git a/src/crepe/system/ParticleSystem.h b/src/crepe/system/ParticleSystem.h
index df89ed9..023a886 100644
--- a/src/crepe/system/ParticleSystem.h
+++ b/src/crepe/system/ParticleSystem.h
@@ -1,9 +1,9 @@
#pragma once
-#include "../api/ParticleEmitter.h"
namespace crepe {
-
+class ParticleEmitter;
+class Transform;
/**
* \brief ParticleSystem class responsible for managing particle emission, updates, and bounds checking.
*/