Пример #1
0
        /// <summary>
        /// Initalizes the map with the loaded file
        /// </summary>
        /// <param name="map"></param>
        public static void Start(Map map, TPLayer[] layers)
        {
            MapCreator mc = new MapCreator(map);

            mc.load("CurrentMapData.txt");
            Enemy.findend();
            TDLayers = layers;
            UICreator.CreateUI();
            LastWaveUpdate = TimeSpan.Zero;
        }