aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-13 19:24:32 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-13 19:24:32 +0100
commit9a95e6cb2c1f1255643d1b8996cd8eeb108c6f8c (patch)
treed1cb1b330a6bafcc25f0812917ffd48233135fa8 /src/crepe/api
parent0b2ca3c323c7f73d031e7014ba0a17dcf0b59751 (diff)
fixed issues
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/ParticleEmitter.cpp1
-rw-r--r--src/crepe/api/ParticleEmitter.h9
2 files changed, 2 insertions, 8 deletions
diff --git a/src/crepe/api/ParticleEmitter.cpp b/src/crepe/api/ParticleEmitter.cpp
index 7032f9e..43d2e69 100644
--- a/src/crepe/api/ParticleEmitter.cpp
+++ b/src/crepe/api/ParticleEmitter.cpp
@@ -1,5 +1,4 @@
#include "ParticleEmitter.h"
-#include "Particle.h"
using namespace crepe;
diff --git a/src/crepe/api/ParticleEmitter.h b/src/crepe/api/ParticleEmitter.h
index 6e29e60..a9e872f 100644
--- a/src/crepe/api/ParticleEmitter.h
+++ b/src/crepe/api/ParticleEmitter.h
@@ -1,24 +1,21 @@
#pragma once
-#include <cstdint>
#include <vector>
#include "Component.h"
#include "Particle.h"
-#include "Sprite.h"
#include "Vector2.h"
-// class Sprite;
-
namespace crepe {
+class Sprite;
+
/**
* \brief Data holder for particle emission parameters.
*
* The ParticleEmitter class stores configuration data for particle properties,
* defining the characteristics and boundaries of particle emissions.
*/
-
class ParticleEmitter : public Component {
public:
/**
@@ -75,8 +72,6 @@ public:
public:
/**
- * \brief Constructs a ParticleEmitter data holder with specified settings.
- *
* \param game_object_id Identifier for the game object using this emitter.
* \param data Configuration data defining particle properties.
*/