public override string NextMessage() { if (CardSource == null) { return(""); } //show library cards if needeed if (WaitForTarget && ValidTargets != null) { Library library = CardSource.Controler.Library; if (ValidTargets.OfType <CardTarget> ().Where (cct => cct.ValidGroup == CardGroupEnum.Library).Count() > 0) { if (!library.IsExpanded) { library.toogleShowAll(); } } else if (library.IsExpanded) { library.toogleShowAll(); } return(Source.TargetPrompt); } return(""); }