Пример #1
0
 public ResponsePhase(Player player, NeedResponsePhase responseTo, Func <Card, bool> allowed, int timeOutTime, string descript) : this(player, responseTo, allowed, timeOutTime)
 {
     this.descript = descript;
 }
Пример #2
0
 /// <summary>
 /// Constructs a ResponsePhase of "player" and reports to "responseTo", a card that matches "allowd" is responded.
 /// </summary>
 /// <param name="player">who needs to provide a response</param>
 /// <param name="responseTo">The Phase to report the response result</param>
 /// <param name="allowed">A predicate that determines what kind of card is allowed</param>
 public ResponsePhase(Player player, NeedResponsePhase responseTo, Func <Card, bool> allowed, int timeOutTime) : base(player, timeOutTime)
 {
     this.allowed    = allowed;
     this.responseTo = responseTo;
     this.descript   = Legends_of_the_Three_Kingdoms.Properties.Resources.Response_Phase_of + playerID;
 }