public bool updateBlock(int healthToSet) { currHealth = healthToSet; if(currHealth <= 0){ isDead = true; } return isDead; }