src/ai/api/ai_townlist_valuator.cpp
branchnoai
changeset 9616 ca607e3077dd
parent 9589 2fbda08db406
child 9655 e8e43f333832
equal deleted inserted replaced
9615:f809cdc8e360 9616:ca607e3077dd
     1 #include "ai_townlist_valuator.hpp"
     1 #include "ai_townlist_valuator.hpp"
     2 #include "ai_town.hpp"
     2 #include "ai_town.hpp"
     3 
     3 
     4 int32 AITownListGetPopulation::Valuate(int32 town) const
     4 int32 AITownListPopulation::Valuate(int32 town) const
     5 {
     5 {
     6 	return AITown::GetPopulation(town);
     6 	return AITown::GetPopulation(town);
     7 }
     7 }
     8 
     8 
     9 int32 AITownListGetLocation::Valuate(int32 town) const
     9 int32 AITownListLocation::Valuate(int32 town) const
    10 {
    10 {
    11 	return AITown::GetLocation(town);
    11 	return AITown::GetLocation(town);
    12 }
    12 }