Esempio n. 1
0
 private ScenarioManager(GmsModel gms, PlayerModel playerModel, IEnumerable <string> imgPath)
 {
     this.imageManager = new ImageManager(imgPath);
     foreach (var item in gms.Map)
     {
         Scenarios.Add(new Scenario(item, playerModel, imageManager));
     }
 }
Esempio n. 2
0
 public static void SaveMap(GmsModel gms)
 {
     File.WriteAllText(@"C:\_TempFoloder\1.data", JsonConvert.SerializeObject(gms));
 }