Example #1
0
 //called originally by CTC, through Wayside
 public void dispatchTrain(int trainId, TrainModel train, double speed, int authority)
 {
     trainList[trainId] = train; //keep array of active trains
     train.updateSpeedAndAuthority(speed, authority);
 }