fabio-t / rlforj-alt

Roguelike Library For Java (Alternative version)
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

FovType must be configurable by the user #7

Open fabio-t opened 6 years ago

fabio-t commented 6 years ago

Right now, Fov algorithms consider only a circle around the starting point, while Los algorithms consider a square. AStar considers a square, too.

Instead of trying to make this completely consistent, or to add yet more arguments to the contract, we should simply make this behaviour configurable.