Exemple #1
0
 private int getMaxTick()
 {
     if (maxTick < 0)
     {
         CompPropertiesCountdown pcd = props as CompPropertiesCountdown;
         maxTick = (int)(pcd.daysCountdown * 60000f - ticks);
     }
     return(maxTick);
 }
Exemple #2
0
        public override string CompInspectStringExtra()
        {
            CompPropertiesCountdown pcd = props as CompPropertiesCountdown;

            return(pcd.inspectString + getRemainingTick().ToStringTicksToPeriodVagueMax());
        }