Make platform.collide return whether there was a collision
Remove projectile if it collides with a platform