public static void Compare(Ivo ivo, Evil evil) { for (int i = 0; i < ivo.Stars.Count; i++) { for (int j = 0; j < evil.Stars.Count; j++) { if (ivo.Stars[i] == evil.Stars[j]) { ivo.Suma -= ivo.Stars[i]; break; } } } }