public World(Bee.BeeMessage messageSender) { Bees = new List<Bee>(); Flowers = new List<Flower>(); Random random = new Random(); for (int i = 0; i < 10; i++) AddFlower(random); Hive = new Hive(this, messageSender); }
public Bee(int id, Point location, Hive hive, World world) { _id = id; _location = location; _hive = hive; _world = world; IsInsideHive = true; State = new IdleState(this); }