Example #1
0
 public void CreateMission(string name, string Dirpath)
 {
     Name = name.Split('.')[0]; ;
     Filename = name;
     DirPath = Dirpath;
     Seed = "0";
     Terrain = new Terrain(Id, Name);
     Environment = new Enviroment(Id, Name);
 }
Example #2
0
 public void CreateMission(string name)
 {
     Name = name.Split('.')[0]; ;
          Filename = name;
          DirPath = Properties.Settings.Default.Gamepath + sl + "Data" + sl + "Missions" + sl + "Training" + sl + Filename;
          Seed = "0";
          Terrain = new Terrain(Id, Name);
          Environment = new Enviroment(Id, Name);
          Teams = new List<Team>();
 }