//------------------------------------------------------------------
        protected Driver(Car car) : base(car)
        {
            Loop     = new Loop();
            Sequence = new Sequence();
            AddInLoop(Sequence);

            Car = car;

            Velocity        = Car.Lane.Velocity;
            ChangeLaneSpeed = 1;
            SafeZone        = new SafeZone(this, 1);
            Primary         = Direction.Left;
        }
Beispiel #2
0
        //------------------------------------------------------------------
        protected Driver(Car car)
            : base(car)
        {
            Loop = new Loop();
            Sequence = new Sequence();
            AddInLoop (Sequence);

            Car = car;

            Velocity = Car.Lane.Velocity;
            ChangeLaneSpeed = 1;
            SafeZone = new SafeZone (this, 1);
            Primary = Direction.Left;
        }