Beispiel #1
0
        /// <summary>
        /// Outputs the result of a poker game
        /// </summary>
        /// <param name="result"></param>
        public void Output(GameResult result)
        {
            switch (result)
            {
            case GameResult.Draw:
                _output.Output(GAME_DRAW_OUTPUT);
                break;

            case GameResult.LeftHandWinner:
                _output.Output(GAME_LEFT_WINNER_OUTPUT);
                break;

            case GameResult.RightHandWinner:
                _output.Output(GAME_RIGHT_WINNER_OUTPUT);
                break;

            default:
                _output.Output(GAME_DEFAULT_OUTPUT);
                break;
            }
        }