//------------------------------------------------------------------ public ChangeFreeLane(Driver driver) { this.driver = driver; Add (new Generic (Perform)); // driver.Car.Color = Color.DarkGray; }
//------------------------------------------------------------------ public Block(Driver driver, Car target) { this.driver = driver; this.target = target; Initial = new Generic (Start); }
private Car closest; // Ahead #endregion Fields #region Constructors //------------------------------------------------------------------ public Shrink(Driver driver) { this.driver = driver; Initial = new Generic (AnalyzeDistance); }
//------------------------------------------------------------------ public ChangeLane(Driver driver, Lane lane) { this.driver = driver; this.lane = lane; Add (new Generic (Perform)); }
//----------------------------------------------------------------- protected void SetDriver(Driver driver) { Remove (driver); Driver = driver; Add (driver); }
//------------------------------------------------------------------ public SpeedControl(Driver driver) { this.driver = driver; Initial = new Generic (Start); }
//------------------------------------------------------------------ public SafeZone(Driver driver, float scale) { this.driver = driver; Scale = scale; }