private void AddDamagesOnPlayer(SpacePlayer player, float damages) { if (player.CanBeFired) { player.AddDamage(damages); player.ReceiveDamage(Color.Blue); } }