public PlayerObjectContainer(PlayerHandClass player, string playerName, IDeck deck)
        {

            PlayerHand = player;
            
            PlayerName = playerName;
            Deck = deck;

            PlayerNumber = playerName == PLAYER2_USER ? 1 : 0;
        }
Ejemplo n.º 2
0
            public Slot(PlayerHandClass container, AttackableCard card, int slotIndex, int playerIndex)
            {
                this.card = card;
                this.SlotIndex = slotIndex;
                this.PlayerHand = container;
                this.PlayerIndex = playerIndex;

                LifeRemaining = card.hitpoints;
                IsDefenseMode = true;
            }