BrickData.updateBlock C# (CSharp) 메소드

updateBlock() 공개 메소드

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