src/ai/api/ai_tilelist_valuator.cpp
branchnoai
changeset 9700 e442ce398e83
parent 9698 1d50fe99b7e9
child 9723 eee46cb39750
equal deleted inserted replaced
9699:e1b5f29cc6f9 9700:e442ce398e83
    34 int32 AITileListSlope::Valuate(int32 tile) const
    34 int32 AITileListSlope::Valuate(int32 tile) const
    35 {
    35 {
    36 	return AITile::GetSlope(tile);
    36 	return AITile::GetSlope(tile);
    37 }
    37 }
    38 
    38 
       
    39 int32 AITileListHeight::Valuate(int32 tile) const
       
    40 {
       
    41 	return AITile::GetHeight(tile);
       
    42 }
       
    43 
    39 int32 AITileListNeighbourRoadCount::Valuate(int32 tile) const
    44 int32 AITileListNeighbourRoadCount::Valuate(int32 tile) const
    40 {
    45 {
    41 	return AIRoad::GetNeighbourRoadCount(tile);
    46 	return AIRoad::GetNeighbourRoadCount(tile);
    42 }
    47 }
    43 
    48