Ejemplo n.º 1
0
 /// <summary>
 /// How to handle rehydration from being serialized.
 /// </summary>
 public override void Rehydrated()
 {
     base.Rehydrated();
     DrawPile.Apply(c => c.Options           = CardOptions);
     DiscardPile.Apply(c => c.Options        = CardOptions);
     Table.Apply(c => c.Options              = CardOptions);
     Tableau.Apply(c => c.Options            = CardOptions);
     Hands.Apply(h => h.Apply(c => c.Options = CardOptions));
 }