예제 #1
0
 public HeroZiDan(PlaneFather pf, int speed, int power) :
     base(pf, imgHero, speed, power)
 {
 }
예제 #2
0
 public ZiDan(PlaneFather pf, Image img, int speed, int power) :
     base(pf.X + pf.Width / 2 - 20, pf.Y + pf.Height / 2 - 45, img.Width, img.Height, speed, 0, pf.Dir)
 {
     this.imgZiDan = img;
     this.Power    = power;
 }