Bloom.Book.Book.SelectNextCoverColor C# (CSharp) Method

SelectNextCoverColor() public static method

This just increments the color index so that the next book to be constructed that doesn't already have a color will use it
public static SelectNextCoverColor ( ) : void
return void
        public static void SelectNextCoverColor()
        {
            _coverColorIndex = _coverColorIndex+1;
            if( _coverColorIndex >= CoverColors.Length)
                _coverColorIndex = 0;
        }
Book