//------------------------------------------------------------------ public void CreateFlasher() { // Flasher flasher = new Lights(this, "Flasher"); flasher.Enable(); Add(flasher); }
//------------------------------------------------------------------ private void CreateLights() { brakes = new Lights(this, "Brake"); brakes.LocalPosition = new Vector2(0, Texture.Height / 2 + 10); Add(brakes); boost = new Lights(this, "Acceleration"); boost.LocalPosition = new Vector2(0, -Texture.Height / 2 - 10); Add(boost); blinker = new Blinker(this, "Blinker"); Add(blinker); }
//------------------------------------------------------------------ public void CreateFlasher() { flasher = new Lights(this, "Flasher"); Add (flasher); }
//------------------------------------------------------------------ private void CreateLights() { brakes = new Lights (this, "Brake"); brakes.LocalPosition = new Vector2 (0, Lenght / 2 + 10); Add (brakes); boost = new Lights (this, "Acceleration"); boost.LocalPosition = new Vector2 (0, -Lenght / 2 - 10); Add (boost); blinker = new Blinker (this, "Blinker"); Add (blinker); }
//------------------------------------------------------------------ public void CreateFlasher() { flasher = new Lights(this, "Flasher"); Add(flasher); }