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