/// <summary> /// Constructor /// </summary> /// <param name="round"></param> /// <param name="showQuestion"></param> 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; }
/// <summary> /// Constructor /// </summary> /// <param name="round"></param> /// <param name="showQuestion"></param> 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; }