public Deck(ePlayerId _playerID, eDeckId _deckid) { PlayerID = _playerID; this.DeckID = _deckid; this.Init(); this.CardAdded += Deck_CardAddedPlaySound; }
public Deck(ePlayerId _playerID, eDeckId _deckid) { PlayerID = _playerID; this.DeckID = _deckid; this.Init(); this.CardAdded +=Deck_CardAddedPlaySound; }
private void removeFrom(Deck _deck) { this.DestDeck = _deck.DestDeck; _deck.DestDeck = eDeckId.NONE; this.TranferedCard = _deck.OutCard; _deck.OutCard = null; }
protected virtual void MoveTopToDeck(eDeckId _id) { this.OutCard = this.RemoveTop(); this.DestDeck = _id; }
public virtual void SendTo(Card _card, eDeckId _deck) { this.OutCard = this.RemoveCard(_card); this.DestDeck = _deck; }
private void removeTo(Deck _deck) { _deck.AddTop(this.TranferedCard.Value); this.TranferedCard = null; this.DestDeck = eDeckId.NONE; }
private void Init() { DestDeck = eDeckId.NONE; }