public void InitComponent() { WorldGenerator generator = new WorldGenerator(); var world = generator.GenerateWorldTerrain(); generator.Populate(world); resolver.World = world; World = world; //Terrain initialisé foreach (Rabbit r in world.Agents.Where(i => i is Rabbit).Cast <Rabbit>()) { IAList.Add(new RabbitIA(r)); } StartScheduler(); }