Dominion.PlayerActionWithSelf.GetCoinAmountToUseInButcher C# (CSharp) Method

GetCoinAmountToUseInButcher() public method

public GetCoinAmountToUseInButcher ( GameState gameState ) : int
gameState GameState
return int
        public int GetCoinAmountToUseInButcher(GameState gameState)
        {
            var saved = gameState.self;
            gameState.self = this.self;
            var result = this.playerAction.GetCoinAmountToUseInButcher(gameState);
            gameState.self = saved;
            return result;
        }