예제 #1
0
 public Vehicle(int en, int a, int b)
 {
     vehicle_type = (vehicle_types)en;
     fill_passangers();
     reaction_time();
     location(a, b);
 }
예제 #2
0
 public Vehicle(int en, int a, int b, Random rand)
 {
     vehicle_type = (vehicle_types)en;
     ID           = DataBase.id_list + 1;
     fill_passangers(rand);
     reaction_time();
     location(a, b);
 }