aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinSystemScript.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 20:52:39 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 20:52:39 +0100
commit126c402548281f3a97e3a9e0ef60c45147c87fa0 (patch)
treef2f2e763bb6ae3a7ee1bc7719cef2fee8ae1ad5d /game/coins/CoinSystemScript.cpp
parent867414de0e2e963b0d1c35b3a46884a8a03a9294 (diff)
endgamesubscene finished
Diffstat (limited to 'game/coins/CoinSystemScript.cpp')
-rw-r--r--game/coins/CoinSystemScript.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/game/coins/CoinSystemScript.cpp b/game/coins/CoinSystemScript.cpp
index b77c597..c9c301e 100644
--- a/game/coins/CoinSystemScript.cpp
+++ b/game/coins/CoinSystemScript.cpp
@@ -5,7 +5,6 @@
#include "api/Sprite.h"
#include "api/Transform.h"
#include <random>
-#include "iostream"
using namespace crepe;
using namespace std;
@@ -239,10 +238,7 @@ void CoinSystemScript::generate_locations(){
std::uniform_real_distribution<float> space_dist(SPAWN_SPACING_MIN, SPAWN_SPACING_MAX);
float spacing = space_dist(engine);
-
-
- cout << "selected " << selected_index << std::endl;
- cout << "spacing " << spacing << std::endl;
+
// Call the corresponding function and return the new x position
this->system_position += functions[selected_index]({this->system_position,0});
this->system_position += spacing;