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