Sped the ball up. master
authorNolan Eakins <nolan@eakins.net>
Mon, 13 Aug 2012 00:54:24 +0000 (20:54 -0400)
committerNolan Eakins <nolan@eakins.net>
Mon, 13 Aug 2012 00:54:24 +0000 (20:54 -0400)
src/Ball.cpp

index 9507a6c..addf83b 100644 (file)
@@ -138,8 +138,8 @@ void Ball::reset(bool to_player1)
   setPosX(getField().width() / 2.0f);
   setPosY(getField().height() / 2.0f);
   // setup velocity better
-  setVelX(350.0f);
-  setVelY(200.0f);
+  setVelX(400.0f);
+  setVelY(250.0f);
   if(rand() % 2 == 1)
     setVelY(-getVelY());
   if(to_player1) {