GR.Gambling.Backgammon.GameState.Reject C# (CSharp) Method

Reject() public method

public Reject ( ) : void
return void
        public void Reject()
        {
            if (offer != OfferType.Resign)
                throw new InvalidOperationException("Cannot reject when there's no resign offer.");

            offer = OfferType.None;
            player_on_turn = 1 - player_on_turn;
        }