コード例 #1
0
        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));

        }
コード例 #2
0
 public NewPassangerEvent(uint time, Stop where) : base(time) {
     this.where = where;
 }