Esempio n. 1
0
 public Deck(ePlayerId _playerID, eDeckId _deckid)
 {
     PlayerID    = _playerID;
     this.DeckID = _deckid;
     this.Init();
     this.CardAdded += Deck_CardAddedPlaySound;
 }
Esempio n. 2
0
 public Deck(ePlayerId _playerID, eDeckId _deckid)
 {
     PlayerID = _playerID;
     this.DeckID = _deckid;
     this.Init();
     this.CardAdded +=Deck_CardAddedPlaySound;
 }
Esempio n. 3
0
 private void removeFrom(Deck _deck)
 {
     this.DestDeck      = _deck.DestDeck;
     _deck.DestDeck     = eDeckId.NONE;
     this.TranferedCard = _deck.OutCard;
     _deck.OutCard      = null;
 }
Esempio n. 4
0
 protected virtual void MoveTopToDeck(eDeckId _id)
 {
     this.OutCard = this.RemoveTop();
     this.DestDeck = _id;
 }
Esempio n. 5
0
 public virtual void SendTo(Card _card, eDeckId _deck)
 {
     this.OutCard = this.RemoveCard(_card);
     this.DestDeck = _deck;
 }
Esempio n. 6
0
 protected virtual void MoveTopToDeck(eDeckId _id)
 {
     this.OutCard  = this.RemoveTop();
     this.DestDeck = _id;
 }
Esempio n. 7
0
 public virtual void SendTo(Card _card, eDeckId _deck)
 {
     this.OutCard  = this.RemoveCard(_card);
     this.DestDeck = _deck;
 }
Esempio n. 8
0
 private void removeTo(Deck _deck)
 {
     _deck.AddTop(this.TranferedCard.Value);
     this.TranferedCard = null;
     this.DestDeck      = eDeckId.NONE;
 }
Esempio n. 9
0
 private void Init()
 {
     DestDeck = eDeckId.NONE;
 }