Example #1
0
 public void SetCostType(TrainSeatTypes type, double cost)
 {
     base[(int)type] = cost;
 }
Example #2
0
 public double this[TrainSeatTypes t]
 {
     get { return base[(int)t]; }
     set { base[(int)t] = value; }
 }