Advertisement
Guest User

Untitled

a guest
Sep 7th, 2015
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1.     List<GameDecision> Out = new List<GameDecision>();
  2.  
  3.     foreach(Card SpellCard in PlayerSpellbook(Player))
  4.     {
  5.         List<Card> PossibleTargets = GetPossibleTargets(SpellCard);
  6.  
  7.         for(each combination of possible targets)
  8.         {
  9.             List<Card> Targets = new list of Card.TargetCount targets;
  10.             Out.Add(new GameDecision() { Type = GameDecisionType.PlayCard, TheCard = SpellCard, Targets = Targets });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement