private void LoadMap(string MapPath)
        {
            string Name = MapPath.Substring(0, MapPath.Length - 4).Substring(28);

            this.Text = Name + " - Project Eternity Adventure Map Editor";
            LayerViewer.Preload();
            AdventureMap LoadedFightingZone = new AdventureMap(Name);

            LayerViewer.ActiveFightingZone         = LoadedFightingZone;
            LayerViewer.ActiveFightingZone.Content = LayerViewer.content;
            LayerViewer.ActiveFightingZone.Load();
        }
예제 #2
0
 public static void ClassInit(TestContext context)
 {
     Map = new AdventureMap();
 }