amethyst / rustrogueliketutorial

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

Do not implement diagonals in get_available_exits early #125

Closed benreyn closed 4 years ago

benreyn commented 4 years ago

The diagonal directions in the get_available_exits function is does not need to be implemented until later in the chapters, and is done so here. This PR cleans up the earlier implementation so that the reader doesnt get confused by an early implementation of diagonals that is not needed.