Exemplo n.º 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;
     }
 }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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;
     }
 }