Beispiel #1
0
 public HeroZiDan(PlaneFather pf, int speed, int power) : base(pf, power, imgHeroZiDan, pf.X + pf.Width / 4 - 4, pf.Y, speed)
 {
 }
Beispiel #2
0
 public ZiDan(PlaneFather pf, int power, Image img, int x, int y, int speed) : base(x, y, speed, 0, img.Height, img.Width, pf.Dir)
 {
     this.imgZiDan = img;
     this.Power    = power;
 }
 public EnempyZiDan(PlaneFather pf, int type) : base(pf, GetPowerType(type), img, pf.X + pf.Width / 2, pf.Y + pf.Height, GetSpeedType(type))
 {
     this.Type = type;
 }