Example #1
0
 public CParticleEffect(int partyModeID)
 {
     _PartyModeID   = partyModeID;
     _Theme         = new SThemeParticleEffect();
     _Stars         = new List <CParticle>();
     _SpawnTimer    = new Stopwatch();
     _NextSpawnTime = 0f;
     Visible        = true;
 }
Example #2
0
 public CParticleEffect(int partyModeID, int maxNumber, SColorF color, SRectF rect, string skin, float size, EParticleType type)
 {
     _PartyModeID     = partyModeID;
     _Theme           = new SThemeParticleEffect();
     _Stars           = new List <CParticle>();
     MaxRect          = rect;
     Color            = color;
     _Theme.Skin      = skin;
     _Theme.MaxNumber = maxNumber;
     _Theme.Size      = size;
     _Theme.Type      = type;
     _SpawnTimer      = new Stopwatch();
     _NextSpawnTime   = 0f;
     Visible          = true;
 }