Example #1
0
 public void RemoveVortex(Storm vortex)
 {
     stormList.Remove(vortex);
     objects.Remove(vortex);
 }
Example #2
0
        public void makeVortexes(Random rand)
        {
            int dimensions = rand.Next(50, 75);
            Storm temp;

            for (int i = 0; i < stormNum; i++)
            {
                int num1 = rand.Next(0, screenWidth - stormImage.Width);
                int num2 = rand.Next(0, screenHeight - stormImage.Height);

                temp = new Storm(num1, num2, dimensions, dimensions, stormImage);

                stormList.Add(temp);
                objects.Add(temp);
            }
        }