public BulletPlayer(PlaneParent pp, int speed, int power)
     : base(pp, power, imgPlayerBullet, pp.X + pp.Width / 4, pp.Y, speed)
 {
 }
 public BulletParent(PlaneParent pp, int power, Image img, int x, int y, int speed)
     : base(x, y, img.Width, img.Height, speed, 0, pp.Dir)
 {
     this.imgBullet = img;
     this.Power     = power;
 }
Beispiel #3
0
 public BulletEnemy(PlaneParent pp, int type)
     : base(pp, GetPowerWithType(type), imgPlayerBullet, pp.X + pp.Width / 2, pp.Y + pp.Height, GetBulletSpeedWithType(type))
 {
     this.Type = type;
 }