aboutsummaryrefslogtreecommitdiff
path: root/game/coins
diff options
context:
space:
mode:
Diffstat (limited to 'game/coins')
-rw-r--r--game/coins/CoinPool.cpp3
-rw-r--r--game/coins/CoinPool.h3
-rw-r--r--game/coins/CoinScript.cpp8
-rw-r--r--game/coins/CoinSubScene.cpp14
-rw-r--r--game/coins/CoinSystemScript.cpp11
-rw-r--r--game/coins/CoinSystemScript.h11
6 files changed, 25 insertions, 25 deletions
diff --git a/game/coins/CoinPool.cpp b/game/coins/CoinPool.cpp
index 439b3b3..1d2d0de 100644
--- a/game/coins/CoinPool.cpp
+++ b/game/coins/CoinPool.cpp
@@ -1,8 +1,5 @@
#include "CoinPool.h"
-#include "CoinScript.h"
#include "CoinSubScene.h"
-#include "api/BehaviorScript.h"
-#include "api/GameObject.h"
using namespace crepe;
using namespace std;
diff --git a/game/coins/CoinPool.h b/game/coins/CoinPool.h
index 83058f7..d94c352 100644
--- a/game/coins/CoinPool.h
+++ b/game/coins/CoinPool.h
@@ -1,7 +1,6 @@
#pragma once
-#include "api/Scene.h"
-
+#include <crepe/api/Scene.h>
class CoinPool {
public:
diff --git a/game/coins/CoinScript.cpp b/game/coins/CoinScript.cpp
index 2ecbb98..3d18780 100644
--- a/game/coins/CoinScript.cpp
+++ b/game/coins/CoinScript.cpp
@@ -1,11 +1,13 @@
#include "CoinScript.h"
-#include "api/CircleCollider.h"
-#include "api/Sprite.h"
+
#include "manager/SaveManager.h"
+
#include "../Config.h"
-#include "../Events.h"
#include "../hud/HudScript.h"
+#include <crepe/api/CircleCollider.h>
+#include <crepe/api/Sprite.h>
+
using namespace crepe;
using namespace std;
diff --git a/game/coins/CoinSubScene.cpp b/game/coins/CoinSubScene.cpp
index 9c9caa3..63f9e89 100644
--- a/game/coins/CoinSubScene.cpp
+++ b/game/coins/CoinSubScene.cpp
@@ -1,13 +1,13 @@
#include "CoinSubScene.h"
-#include "api/Animator.h"
-#include "api/BehaviorScript.h"
-#include "api/CircleCollider.h"
-#include "api/Rigidbody.h"
-#include "api/Scene.h"
-#include "api/AudioSource.h"
-#include "CoinScript.h"
+
#include "../Config.h"
+#include <crepe/api/Animator.h>
+#include <crepe/api/CircleCollider.h>
+#include <crepe/api/Rigidbody.h>
+#include <crepe/api/Scene.h>
+#include <crepe/api/AudioSource.h>
+
using namespace crepe;
using namespace std;
diff --git a/game/coins/CoinSystemScript.cpp b/game/coins/CoinSystemScript.cpp
index 573c825..a58e3fd 100644
--- a/game/coins/CoinSystemScript.cpp
+++ b/game/coins/CoinSystemScript.cpp
@@ -1,11 +1,12 @@
#include "CoinSystemScript.h"
-#include "CoinPool.h"
-#include "api/CircleCollider.h"
-#include "api/Metadata.h"
-#include "api/Sprite.h"
-#include "api/Transform.h"
+
#include <random>
+#include <crepe/api/CircleCollider.h>
+#include <crepe/api/Metadata.h>
+#include <crepe/api/Sprite.h>
+#include <crepe/api/Transform.h>
+
using namespace crepe;
using namespace std;
diff --git a/game/coins/CoinSystemScript.h b/game/coins/CoinSystemScript.h
index c65b533..b432f68 100644
--- a/game/coins/CoinSystemScript.h
+++ b/game/coins/CoinSystemScript.h
@@ -1,13 +1,14 @@
#pragma once
-#include "types.h"
#include <string>
-#include "api/CircleCollider.h"
-#include "api/Script.h"
-#include "api/Sprite.h"
-#include "api/Transform.h"
#include <random>
+#include <crepe/types.h>
+#include <crepe/api/CircleCollider.h>
+#include <crepe/api/Script.h>
+#include <crepe/api/Sprite.h>
+#include <crepe/api/Transform.h>
+
class CoinSystemScript : public crepe::Script {
private:
struct CoinData{