コード例 #1
0
 public PlayerBullet(TankFather tf, int life, int speed, int power)
     : base(tf, life, speed, power, img)
 {
     this.Power = power;
 }
コード例 #2
0
ファイル: EnemyBullet.cs プロジェクト: FLynnGame/TankGame
 public EnemyBullet(TankFather tf, int speed, int life, int power)
     : base(tf, speed, life, power, img)
 {
 }
コード例 #3
0
ファイル: BulletFather.cs プロジェクト: FLynnGame/TankGame
 public BulletFather(TankFather tf, int speed, int life, int power, Image img)
     : base(tf.X + tf.Width / 2 - 6, tf.Y + tf.Height / 2 - 6, img.Width, img.Height, speed, life, tf.Dir)
 {
     this.img = img;
 }