Ejemplo n.º 1
0
        public void MakeStep()
        {
            UpdateLightField();
            foreach (var item in Cells.Objects)
            {
                item.EnergyStage();
            }

            Order order = new Order();

            foreach (var item in Cells.Objects)
            {
                item.GenerationStage(order);
            }
            order.Execute(this);

            Seeds.Filter();
            Seeds.PlantLanded();
            Seeds.Fall();
            Seeds.Filter();

            UpdateView();
            Day++;
        }