public void addLifes(int lifes) { if (enoughCoins) { player_health.addLifes(lifes); enoughCoins = false; } }