Example #1
0
 private void generate_ellips()
 {
     expandingObject = new ExpandingObject[amount];
     for (int i = 0; i < amount; i++)
     {
         expandingObject[i]       = new ExpandingObject(r);
         expandingObject[i].Color = c;
     }
 }
Example #2
0
        private void init()
        {
            selected_obj = "ellipse";
            amount       = 5;

            expandingObject = new ExpandingObject[amount];
            r = new Random();
            for (int i = 0; i < amount; i++)
            {
                expandingObject[i] = new ExpandingObject(r);
            }
            c = new Color();
        }
Example #3
0
        private void init()
        {
            selected_obj = "ellipse";
            amount = 5;

            expandingObject = new ExpandingObject[amount];
            r = new Random();
            for (int i = 0; i < amount; i++)
            {
                expandingObject[i] = new ExpandingObject(r);
            }
            c = new Color();
        }
Example #4
0
 private void generate_ellips()
 {
     expandingObject = new ExpandingObject[amount];
     for (int i = 0; i < amount; i++)
     {
         expandingObject[i] = new ExpandingObject(r);
         expandingObject[i].Color = c;
     }
 }