- Event::MouseMotion { x, y, .. } => { bolls.push(Box::new(SquareBoll {
- pos: point!(x as f64, y as f64),
- vel: point!(0.0, 0.0),
- })) }
+ Event::MouseMotion { x, y, .. } => {
+ bolls.push(Box::new(CircleBoll::new(
+ point!(x as f64, y as f64),
+ point!(0.0, 0.0),
+ )))
+ }