Example #1
0
 private void AddFlower(Random random)
 {
     Point location = new Point(random.Next(FIELD_MIN_X, FIELD_MAX_X),
         random.Next(FIELD_MIN_Y, FIELD_MAX_Y));
     Flower newFlower = new Flower(location, random);
     Flowers.Add(newFlower);
 }
 public void Setup()
 {
     _flower = new Flower(new Point(1, 1), Random);
 }