Ejemplo n.º 1
0
 internal AverageStat(double totalValue, int count, Type statType, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.totalValue = totalValue;
     this.count      = count;
     this.statType   = statType;
     this.infoLevel  = infoLevel;
 }
Ejemplo n.º 2
0
 internal IntStat(int value, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.value     = value;
     this.infoLevel = infoLevel;
 }
Ejemplo n.º 3
0
 internal DoubleStat(double value, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.value     = value;
     this.infoLevel = infoLevel;
 }
Ejemplo n.º 4
0
 internal TimeStat(double value, bool timeOfDay = false, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.value     = (int)value;
     this.timeOfDay = timeOfDay;
     this.infoLevel = infoLevel;
 }
Ejemplo n.º 5
0
 internal StringStat(string value, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.value     = value;
     this.infoLevel = infoLevel;
 }
Ejemplo n.º 6
0
 internal BoolStat(bool value, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.value     = value;
     this.infoLevel = infoLevel;
 }
Ejemplo n.º 7
0
 internal MoneyStat(float value, int numDigits = 0, AirportStatUtils.InfoLevels infoLevel = AirportStatUtils.InfoLevels.None)
 {
     this.value     = value;
     this.numDigits = numDigits;
     this.infoLevel = infoLevel;
 }