From 8e6ecd232688d4b465ecc52ec44dea78aa31599d Mon Sep 17 00:00:00 2001 From: PizzaLovers007 Date: Fri, 13 Feb 2015 17:18:48 -0600 Subject: [PATCH] Removed extra debug code --- src/itdelatrisu/opsu/objects/Spinner.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/itdelatrisu/opsu/objects/Spinner.java b/src/itdelatrisu/opsu/objects/Spinner.java index d55209fa..ac05de67 100644 --- a/src/itdelatrisu/opsu/objects/Spinner.java +++ b/src/itdelatrisu/opsu/objects/Spinner.java @@ -65,10 +65,6 @@ public class Spinner implements HitObject { /** The current angular velocity of the spinner in rotations/second. */ private float angularVelocity; - private float cv; - private float mv; - private int limitUpdate = 0; - /** True if the mouse cursor is pressed. */ private boolean isSpinning; @@ -136,16 +132,6 @@ public class Spinner implements HitObject { if (extraRotations > 0) data.drawSymbolNumber(extraRotations * 1000, width / 2, height * 2 / 3, 1.0f); } - - // rotations per minute - g.setColor(new Color(255,255,255)); - g.drawString(String.format("RPM: %d", Math.abs(Math.round(angularVelocity * 60))), 100, 100); - - // debug stuff - g.drawString("key down: " + Utils.isGameKeyPressed(), 200, 100); - g.drawString("momentum velocity: " + mv, 100, 200); - g.drawString("cursor velocity: " + cv, 100, 300); - g.drawString("angular velocity: " + angularVelocity, 100, 400); } /** @@ -232,10 +218,6 @@ public class Spinner implements HitObject { Math.max(0, angularVelocity - ANGULAR_DRAG * delta / 1000) : Math.min(0, angularVelocity + ANGULAR_DRAG * delta / 1000); - //debug stuff - cv = cursorVelocity; - mv = momentumVelocity; - //sets the new angular velocity of the spinner if (momentumVelocity > 0 && cursorVelocity < 0 || momentumVelocity < 0 && cursorVelocity > 0) {