ball = new Ball(Vector2(50, 50), 20, cWhite);
- ball->applyImpulse(Vector2(0.01,0.01)),
+ ball->applyImpulse(Vector2(0.25,0.05)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(100, 50), 20, cBlack);
+ ball->applyImpulse(Vector2(-0.15,-0.05)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(150, 50), 20, cGrey);
+ ball->applyImpulse(Vector2(0.25,0.15)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(50, 100), 20, cRed);
+ ball->applyImpulse(Vector2(0.35,-0.15)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(100, 100), 20, cGreen);
+ ball->applyImpulse(Vector2(-0.15,0.05)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(150, 100), 20, cBlue);
+ ball->applyImpulse(Vector2(0.25,0.15)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(50, 150), 20, cYellow);
+ ball->applyImpulse(Vector2(0.25,-0.05)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(100, 150), 20, cMagenta);
+ ball->applyImpulse(Vector2(-0.15,-0.05)),
Balls.push(ball);
manager::add(ball);
ball = new Ball(Vector2(150, 150), 20, cCyan);
+ ball->applyImpulse(Vector2(-0.15,0.05)),
Balls.push(ball);
manager::add(ball);
}