Ejemplo n.º 1
0
        private SecretZone GetSecretZone(SabberStoneCore.Model.Zones.SecretZone zone)
        {
            var result = new SecretZone();
            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 SecretZone(SabberZones.SecretZone 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;
        }