//------------------------------------------------------------------ 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; }
//------------------------------------------------------------------ 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; }