public void OpenMap()
 {
     MapEditForm = new MapEditForm();
     ViewModels.MapEditViewModel vm = new ViewModels.MapEditViewModel();
     MapEditForm.DataContext = vm;
     vm.LoadFromCurrentMap();
     MapEditForm.Show();
 }
 private IEnumerator <YieldInstruction> resetEditors()
 {
     GroundEditForm = null;
     MapEditForm    = null;
     yield return(CoroutineManager.Instance.StartCoroutine(GameManager.Instance.RestartToTitle()));
 }