public CardSelector GetSelectedCards() { CardSelector selected = m_selector; if (m_nextSelector != null) { m_selector = m_nextSelector; m_nextSelector = null; } else m_selector = null; return selected; }
public void SelectNextCard(IList<int> ids) { m_nextSelector = new CardSelector(ids); }
public void SelectNextCard(CardLocation loc) { m_nextSelector = new CardSelector(loc); }
public void SelectNextCard(IList<ClientCard> cards) { m_nextSelector = new CardSelector(cards); }
public void SelectNextCard(int cardId) { m_nextSelector = new CardSelector(cardId); }
public void SelectCard(CardLocation loc) { m_selector = new CardSelector(loc); }
public void SelectNextCard(ClientCard card) { m_nextSelector = new CardSelector(card); }
public void SelectCard(IList<int> ids) { m_selector = new CardSelector(ids); }
public void SelectCard(int cardId) { m_selector = new CardSelector(cardId); }
public void SelectCard(IList<ClientCard> cards) { m_selector = new CardSelector(cards); }
public void SelectCard(ClientCard card) { m_selector = new CardSelector(card); }
/// <summary> /// Called when it's a new phase. /// </summary> public void OnNewPhase() { m_selector = null; m_nextSelector = null; m_option = -1; if (Duel.Player == 0 && Duel.Phase == Phase.Draw) m_dialogs.SendNewTurn(); }