public static float YearPercent(int tile) { long absTicks = GenLocalDate.TicksAbs; Vector2 vector = Find.WorldGrid.LongLatOf(tile); return(GenDate.YearPercent(absTicks, vector.x)); }
public static Season Season(long absTicks, float latitude, float longitude) { float yearPct = GenDate.YearPercent(absTicks, longitude); return(SeasonUtility.GetReportedSeason(yearPct, latitude)); }
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)); }