Ejemplo n.º 1
0
        private DeckZone GetDeckZone(SabberStoneCore.Model.Zones.DeckZone zone)
        {
            var result = new DeckZone();
            var span   = zone.GetSpan();

            for (int i = 0; i < span.Length; i++)
            {
                result.Entities.Add(GetPlayable(span[i], true));
            }
            return(result);
        }
Ejemplo n.º 2
0
        public DeckZone(SabberZones.DeckZone zone)
        {
            var playables = new Playable[10];
            var span      = zone.GetSpan();

            for (int i = 0; i < span.Length; i++)
            {
                playables[i] = new Playable(span[i], true);
            }

            Count     = span.Length;
            Playables = playables;
        }