Exemple #1
0
 public virtual void EndStep()
 {
     if (AliveStatus)
     {
         if (ColonyWillDie())
         {
             AliveStatus = false;
         }
     }
     else
     {
         if (NeighbourCounter == birthNeedNeighbors)
         {
             WorldFiller.NewRandomColony(IndexOfColony);
         }
     }
 }
Exemple #2
0
 protected void Die()
 {
     WorldFiller.NewColony(IndexOfColony, false);
 }