Beispiel #1
0
 public void Fire(Graphics g, Bullet b)
 {
     b.X += 3;
     b.moveRock();
     b.Draw(g);
 }
Beispiel #2
0
 public Plane(int x, int y, Bitmap planeImage)
     : base(x, y, planeImage = new Bitmap(Properties.Resources.plane))
 {
     bullet = new Bullet(x, y, p);
 }