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; }
public GamePowerUp(PointF Location, SizeF ObjectSize, String[] ImageFrameskeys, int framedelay, CollectPowerupfunction powerupfunc) : base(Location, ObjectSize, ImageFrameskeys, 0, 0, framedelay) { usefunction = powerupfunc; }
public GamePowerUp(PointF Location, SizeF ObjectSize, Image ImageUse, CollectPowerupfunction powerupfunc) : base(Location, ObjectSize, new Image[] { ImageUse }, 0, 0, 3) { NextAttributesFunc = null; usefunction = powerupfunc; }