private void gameOver() { btn_replay.Visible = true; endGame.Visible = true; RoadMover.Stop(); Enemy1_mover.Stop(); Enemy2_mover.Stop(); Enemy3_mover.Stop(); }
public Form1() { InitializeComponent(); cars = new CarDoc(); FileName = null; this.DoubleBuffered = true; RoadMover.Start(); Enemy1_mover.Start(); Enemy2_mover.Start(); Enemy3_mover.Start(); random = new Random(); }
public Form1() { InitializeComponent(); road = new PictureBox[12]; this.DoubleBuffered = true; RoadMover.Start(); Enemy1_mover.Start(); Enemy2_mover.Start(); Enemy3_mover.Start(); random = new Random(); score = 0; FileName = null; }