private static Point FindArtifactPosition(IZone zone)
        {
            if (!zone.Configuration.Terraformable)
            {
                return(zone.GetRandomPassablePosition());
            }

            // gamman keresunk teruletet
            var p = zone.FindWalkableArea(zone.Size.ToArea(), 20);

            return(p.RandomElement());
        }
Ejemplo n.º 2
0
        protected override Point FindSpawnPosition(IZone zone)
        {
            var p = zone.FindWalkableArea(zone.Size.ToArea(), 20);

            return(p.RandomElement());
        }