Minor cleanup
parent
1c3f64a132
commit
acb3315392
|
@ -388,13 +388,4 @@ impl<'a> World {
|
||||||
pub fn iter_projectiles(&'a self) -> impl Iterator<Item = &ProjectileWorldObject> + '_ {
|
pub fn iter_projectiles(&'a self) -> impl Iterator<Item = &ProjectileWorldObject> + '_ {
|
||||||
self.projectiles.values()
|
self.projectiles.values()
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
/// Iterate over all projectile sprites in this physics system
|
|
||||||
pub fn get_projectile_sprites(&self) -> impl Iterator<Item = ObjectSprite> + '_ {
|
|
||||||
self.projectiles
|
|
||||||
.values()
|
|
||||||
.map(|x| x.get_sprite(&self.wrapper.rigid_body_set[x.rigid_body]))
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue