public CCLightningStreak(CCPoint start, CCPoint end, float sway, float fadeTime, float minSegLength, float streakWidth, CCColor3B color, CCTexture2D texture) : base(fadeTime, minSegLength, streakWidth, color, texture) { _Track = new CCLightningTrack(start, end); _Track.Sway = sway; }
public CCLightningStreak(CCPoint start, CCPoint end, float fadeTime, float minSegLength, float streakWidth, CCColor3B color, string pathToTexture) : base(fadeTime, minSegLength, streakWidth, color, pathToTexture) { _Track = new CCLightningTrack(start, end); }