static void RemoveHearts(int heartsToRemove, Heart typeHeart) { if (typeHeart == black) { if (black._nActualHearts - heartsToRemove <= -1) { blue.RemoveHearts(Math.Abs(black._nActualHearts - heartsToRemove)); if (blue._nActualHearts <= -1) { red.RemoveHearts(Math.Abs(blue._nActualHearts)); blue._nActualHearts = 0; } } } typeHeart.RemoveHearts(heartsToRemove); red.Print(); if (blue._nActualHearts != 0) { blue.Print(); } if (black._nActualHearts != 0) { black.Print(); } Console.Write("\n"); }