private void RedBullStuff(Redbull redBull, Ch2Goku goku2, Ch2Goku MirrorGoku, Ch2Villain Villain2, Ch2Villain Villain3) { redBull.RedBullStuff(); if (redBull.Spawn == true) { redBull.redBullRect.Add(new Rectangle(rand.Next(0, 1010), rand.Next(0, 700), 50, 50)); redBull.Spawn = false; } redBull.RedBullBoost3(ref goku2.Position,ref MirrorGoku.Position, ref Villain2.Position,ref Villain3.Position); }
private void RedBullStuff(Redbull redBull, Goku goku, Villain buu) { redBull.RedBullStuff(); if (redBull.Spawn == true) { redBull.redBullRect.Add(new Rectangle(rand.Next(0, 1010), rand.Next(0, 700), 50, 50)); redBull.Spawn = false; } redBull.RedBullBoost(ref goku.Position, ref buu.Position); }