moved setVisibility method to BrickBaseType for all bricks