aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 19:18:58 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 19:18:58 +0100
commit46716724df7697fa789329a62f7a5444ceed5585 (patch)
tree13ea64f194074f28effe2bf150532b5ebf76fece /src/crepe
parent0006e959643f0150acd230b174287a85d4cb3255 (diff)
changed includes
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/Particle.cpp2
-rw-r--r--src/crepe/api/ParticleEmitter.cpp3
-rw-r--r--src/crepe/api/ParticleEmitter.h1
-rw-r--r--src/crepe/system/ParticleSystem.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/src/crepe/Particle.cpp b/src/crepe/Particle.cpp
index cb2ef0d..3777db0 100644
--- a/src/crepe/Particle.cpp
+++ b/src/crepe/Particle.cpp
@@ -1,7 +1,5 @@
#include "Particle.h"
-#include "api/Transform.h"
-
using namespace crepe;
void Particle::reset(uint32_t lifespan, Vector2 position, Vector2 velocity, double angle) {
diff --git a/src/crepe/api/ParticleEmitter.cpp b/src/crepe/api/ParticleEmitter.cpp
index 000bf30..1703026 100644
--- a/src/crepe/api/ParticleEmitter.cpp
+++ b/src/crepe/api/ParticleEmitter.cpp
@@ -1,5 +1,6 @@
-#include "Particle.h"
#include "ParticleEmitter.h"
+#include "Particle.h"
+
using namespace crepe;
diff --git a/src/crepe/api/ParticleEmitter.h b/src/crepe/api/ParticleEmitter.h
index e81ed3b..037effe 100644
--- a/src/crepe/api/ParticleEmitter.h
+++ b/src/crepe/api/ParticleEmitter.h
@@ -6,6 +6,7 @@
#include "Component.h"
#include "Particle.h"
#include "Sprite.h"
+#include "Vector2.h"
// class Sprite;
diff --git a/src/crepe/system/ParticleSystem.h b/src/crepe/system/ParticleSystem.h
index 023a886..a74ea79 100644
--- a/src/crepe/system/ParticleSystem.h
+++ b/src/crepe/system/ParticleSystem.h
@@ -1,5 +1,6 @@
#pragma once
+#include <cstdint>
namespace crepe {
class ParticleEmitter;