Sets body's bounciness.
body
@override void setRestitution(int body, double restitution) => bodies[body]?.restitution = restitution;