Exemplo n.º 1
0
        public void AddStrip(StripInfo infos)
        {
            List <Card> cards = new List <Card>();

            cards.AddRange((IEnumerable <Card>)infos.cards);
            CardStrip cardStrip = new CardStrip(this.x, this.y, cards, this._listener, infos.large, infos.cardsVisible, infos.header);

            this._strips.Add(cardStrip);
            Level.Add((Thing)cardStrip);
        }
Exemplo n.º 2
0
        public void AddStrip(List <Card> infos)
        {
            List <Card> cards = new List <Card>();

            cards.AddRange((IEnumerable <Card>)infos);
            CardStrip cardStrip = new CardStrip(this.x, this.y, cards, this._listener, true);

            this._strips.Add(cardStrip);
            Level.Add((Thing)cardStrip);
        }