ArmedCards.Entities.Models.Game.Board.RoundQuestion.RoundQuestion C# (CSharp) Method

RoundQuestion() public method

Constructor
public RoundQuestion ( Entities round, System.Boolean showQuestion ) : System
round Entities
showQuestion System.Boolean
return System
        public RoundQuestion(Entities.GameRound round, Boolean showQuestion)
        {
            if(round == null)
            {
                Question = new ArmedCards.Entities.Card { Type = ArmedCards.Entities.Enums.Card.CardType.Question };
            }
            else
            {
                Question = round.Question;
            }

            this.ShowQuestion = showQuestion;
            this.Instructions = (Int32)Question.Instructions;
        }
RoundQuestion