private static void FireBullet() { try { // Create a new explosion and add it to the drawable list IWeapon projectile = projectilePool.Acquire(Player.Position, false); movingObjects.Add((ProjectileClassAlpha)projectile); AudioController.PlayLaserSound(); } catch (InvalidOperationException) { // Out of shots, don't fire } }