Esempio n. 1
0
        public void LoadMapFromXml(string aFilePath)
        {
            Pause();
            string tempFilePath = FileNameToMapFileName(aFilePath);

            theGameStatus.LoadMap(tempFilePath);
            theRenderer.MapLoaded();
            TheGameCore.OnGameEventHandler(new GameEventArgs(GameEventArgs.Types.MapLoaded)
            {
                Message = tempFilePath
            });
            Resume();
        }