public Passanger(Stop stop) { this.stop = stop; this.stop.passangers.Add(this); arrival = Program.time; uint nextArrival = Program.time + 3; Program.events.Add(new NewPassangerEvent( nextArrival, stop)); }
public NewPassangerEvent(uint time, Stop where) : base(time) { this.where = where; }