Improve code of processShooting
Improve Code in Projectile