Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor terrain_filter::get_locations
previously the code needed 2^number_of_base_attributes (where base attributes are those attributes that specify the starting location set for the search) if-cases which made it quet hard to add new base attributes.
- Loading branch information
Showing
2 changed files
with
65 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters