public void DropParticle(Game1 game, Vector2 pos, Color c) { float speed = 0.1f; if (PartyTimer > 0) { speed += (float)game.rnd.NextDouble() * 2; switch (game.rnd.Next(10)) { case 0: c = Color.White; break; case 1: c = Color.Black; break; case 2: c = Color.Green; break; case 3: c = Color.Blue; break; case 4: c = Color.Yellow; break; case 5: c = Color.Pink; break; case 6: c = Color.Red; break; case 7: c = Color.Orange; break; case 8: c = Color.Magenta; break; case 9: c = Color.Coral; break; } } game.Particles.Add(new Particle(pos, game.GetVector(speed), c)); }