Пример #1
0
 public override float getDivRate(Colony colony)
 {
     if (colony.getNum() == 0)
     {
         return(0);
     }
     return((float)(colony.getMass() / colony.getNum() / colony.getCellSize()));
 }
Пример #2
0
 private double GetMaxSize(model.Colony colonyInfo)
 {
     return(colonyInfo.getCellSize());
 }