Example #1
0
 public HandObject(Hand hand, bool topHand, int cardHeight, int cardWidth, CardDatabase cardsDB)
 {
     _hand = hand;
     _cardHeight = cardHeight;
     _cardWidth = cardWidth;
     _topHand = topHand;
     _cardsDB = cardsDB;
 }
 public BattleZoneObject(BattleZone hand, bool topHand, int cardHeight, int cardWidth, CardDatabase cardsDB)
 {
     _hand = hand;
     _cardHeight = cardHeight;
     _cardWidth = cardWidth;
     _topHand = topHand;
     _cardsDB = cardsDB;
 }
 public BattleZoneObject(BattleZone battleZone, bool topZone, int cardHeight, int cardWidth, CardDatabase cardsDB, int factor = 1)
 {
     _battleZone = battleZone;
     _cardHeight = cardHeight;
     _cardWidth = cardWidth;
     _topZone = topZone;
     _cardsDB = cardsDB;
     _factor = factor;
 }