Пример #1
0
 public GamePowerUp(PointF Location, SizeF ObjectSize, Image[] Imagesuse, int framedelay, CollectPowerupfunction powerupfunc)
     : base(Location, ObjectSize, Imagesuse, 0, 0, framedelay)
 {
     //VelocityChange = new VelocityChangerLeafy();
     NextAttributesFunc = null;
     usefunction = powerupfunc;
 }
Пример #2
0
 public GamePowerUp(PointF Location, SizeF ObjectSize, String[] ImageFrameskeys, int framedelay, CollectPowerupfunction powerupfunc)
     : base(Location, ObjectSize, ImageFrameskeys, 0, 0, framedelay)
 {
     usefunction = powerupfunc;
 }
Пример #3
0
 public GamePowerUp(PointF Location, SizeF ObjectSize, Image ImageUse, CollectPowerupfunction powerupfunc)
     : base(Location, ObjectSize, new Image[] { ImageUse }, 0, 0, 3)
 {
     NextAttributesFunc = null;
     usefunction = powerupfunc;
 }