public updateBlock ( int healthToSet ) : bool | ||
healthToSet | int | |
Результат | bool |
public bool updateBlock(int healthToSet)
{
currHealth = healthToSet;
if(currHealth <= 0){
isDead = true;
}
return isDead;
}