amethyst / rustrogueliketutorial

Roguelike Tutorial in Rust - using RLTK
MIT License
903 stars 156 forks source link

Chapter4: Return rooms and map from new_map_rooms_and_corridors fn. #175

Open viljami opened 3 years ago

viljami commented 3 years ago

The main function of Chapter 4 uses new_map_rooms_and_corridors function with return value tuple (rooms, map), but the function is defined in the earlier book examples with only map returning.

I have changed the return type of new_map_rooms_and_corridors function to match the main function usage.