aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinSystemScript.cpp
diff options
context:
space:
mode:
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;