Exemple #1
0
        Coord GetPlayerStartPosition(Atlas atlas)
        {
            var startChart = Atlas.FilterByMetaData(atlas.Charts, "_start").FirstOrDefault();

            Assert.IsNotNull(startChart, "No chart marked '_start'");
            Marker startMarker = startChart.Markers.First(marker => marker.Filter("_start"));

            return((Coord)startMarker.GlobalPositon);
        }