Exemplo n.º 1
0
 public CardSelectionMode(Player player, IsSelectedCardSelectable cardCallback, SelectedCardsCallback finalCallback)
 {
     _p                        = player;
     selectedCards             = new ArrayList();
     chooseCardsCallback       = finalCallback;
     selectedCardValidCallback = cardCallback;
     _p.StartCoroutine(Init());
 }
Exemplo n.º 2
0
 public CardSelectionMode(Player player, IsSelectedCardSelectable cardCallback, SelectedCardsCallback finalCallback)
 {
     _p = player;
     selectedCards = new ArrayList();
     chooseCardsCallback = finalCallback;
     selectedCardValidCallback = cardCallback;
     _p.StartCoroutine(Init());
 }
 public void ChooseCards(IsSelectedCardSelectable cardCallback, SelectedCardsCallback finalCallback)
 {
     guiManager.ChangeMode(new CardSelectionMode(this, cardCallback, finalCallback));
 }
Exemplo n.º 4
0
 public void ChooseCards(IsSelectedCardSelectable cardCallback, SelectedCardsCallback finalCallback)
 {
     guiManager.ChangeMode(new CardSelectionMode(this, cardCallback, finalCallback));
 }