Set the Velocity Decay of an asteroids to .999

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-04-03 23:49:23 -04:00
parent 0e0b001c04
commit 74dd62e4d0

View File

@@ -57,7 +57,7 @@ public class Asteroid extends MovingSpaceObject implements Collider, Drawable {
mAngle = 2 * Math.PI * Math.random(); // random direction
mXVelocity = vel * Math.cos(mAngle);
mYVelocity = vel * Math.sin(mAngle);
mVelocityDecay = .999;
mNumberSplit = numberSplit;
mHitsLeft = hitsLeft;
mRadius = radius;