예제 #1
0
파일: Simulation.cs 프로젝트: Piwo13/FM
 public static void NextSeason()
 {
     Contract();
     ClubStatus.Round = ClubStatus.LeagueId == 2 ? 5 : 1;
     ClubStatus.SeasonEnd.AddYears(1);
     ClubStatus.SeasonStart.AddYears(1);
     ClubStatus.CurrentDate = ClubStatus.LeagueId == 2 ? new DateTime(ClubStatus.SeasonStart.Year, 8, 19) : new DateTime(ClubStatus.SeasonStart.Year, 7, 19);
     NewSchedule(1);
     NewSchedule(2);
     PlayerRepo.UpdateOve();
     Regen();
     Retire();
     ClubRepo.Reset();
     PlayerRepo.UpdateVal();
     ClubStatus.SerializeSave();
 }