Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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);
 }