richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Merging desert and water should result in beach #453

Closed antonhensen81 closed 5 years ago

antonhensen81 commented 5 years ago

Is your feature request related to a problem? Please describe. Currently, desert and water cannot be merged.

Describe the solution you'd like Merging desert and water should result in beach

Describe alternatives you've considered None

Additional context There are two tests in test_tile_type that test exactly this, uncomment the following lines to make the tests run and make them pass:

//assert(get_merge_type(tile_type::dessert, tile_type::water) == tile_type::beach);
//assert(get_merge_type(tile_type::water, tile_type::dessert) == tile_type::beach);