Ejemplo n.º 1
0
		public void setupDefaultsForLeague(int aLeague,int aStartDate,TrackDatabaseRecord aTrackRecord) {
		//	aTrackRecord = TrackDatabase.REF.recordFromName("BulletsTrack1");
			prizeDistrbutionSetting = EPrizeDistrbution.Standard;
			track = aTrackRecord;
			float prize1 = 50000f*((5f-aLeague)/3f);
			prizeFund = Convert.ToInt32(prize1) ;
			driversPointsDistribution = EPointsDistribution.F12010Style;
			constructorsPointsDistribution = EPointsDistribution.F12010Style;
			startDate = aStartDate;//(aRaceInCalendar+1)*(7+ChampionshipSeason.ACTIVE_SEASON.secondsPast)-1;
		} 
Ejemplo n.º 2
0
		private int randTrackSort(TrackDatabaseRecord aTrack1,TrackDatabaseRecord aTrack2) {
			return UnityEngine.Random.Range(-1,1);
		}