public Bee(int id, Point place, World world, Nest nest) { this.ID = id; this.place = place; Age = 0; CollectedNectar = 0; InNest = true; TargetFlower = null; World = world; Nest = nest; }
public World() { Bees = new List <Bee>(); Flowers = new List <Flower>(); Nest = new Nest(this); Random r = new Random(); for (int i = 0; i < 10; i++) { NewFlower(r); } }