Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 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;
 }