private static Image img = Resources.tankmissile;//导入玩家子弹图片 public PlayerBullet(TankFather tf, int speed, int life, int power) : base(tf, speed, life, power, img) { }
public BulletFather(TankFather tf, int speed, int life, int power, Image img) : base(tf.X + tf.Width / 2 - 8, tf.Y + tf.Height / 2 - 8, img.Width, img.Height, speed, life, tf.Dir) { this.img = img; }