Ejemplo n.º 1
0
 /// <summary>
 /// Updates the inhabitation according the town category.
 /// </summary>
 public void updateInhabitation()
 {
     inhabitation = TownCategoryUtil.calculateInhabitation(townCategory);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Updates the town category according the inhabitation value.
 /// </summary>
 public void updateTownCategory()
 {
     townCategory = TownCategoryUtil.calculateCategory(inhabitation);
 }