Beispiel #1
0
        public static float YearPercent(int tile)
        {
            long    absTicks = GenLocalDate.TicksAbs;
            Vector2 vector   = Find.WorldGrid.LongLatOf(tile);

            return(GenDate.YearPercent(absTicks, vector.x));
        }
Beispiel #2
0
        public static Season Season(long absTicks, float latitude, float longitude)
        {
            float yearPct = GenDate.YearPercent(absTicks, longitude);

            return(SeasonUtility.GetReportedSeason(yearPct, latitude));
        }
Beispiel #3
0
 public static float YearPercent(Thing thing)
 {
     return(GenDate.YearPercent(GenLocalDate.TicksAbs, GenLocalDate.LongitudeForDate(thing)));
 }
 public static float YearPercent(int tile)
 {
     return(GenDate.YearPercent((long)GenLocalDate.TicksAbs, Find.WorldGrid.LongLatOf(tile).x));
 }