示例#1
0
 private static Image img = Resources.tankmissile;//导入玩家子弹图片
 public PlayerBullet(TankFather tf, int speed, int life, int power)
     : base(tf, speed, life, power, img)
 {
 }
示例#2
0
 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;
 }