BrickData.checkBlock C# (CSharp) Method

checkBlock() public method

public checkBlock ( ) : bool
return bool
    public bool checkBlock()
    {
        if(assocBlock == null){
          currHealth = 0;
          isDead = true;
        }else if(currHealth == 0){
          isDead = true;
        }
        return isDead;
    }