lets-godot-roguelike
lets-godot-roguelike copied to clipboard
FOV script
FOV.gd will be another singleton script. It will take the map data from our DataMap object and calculate the fov of an origin cell within a range. The script will take a square of the map (with the player at the center) and return all cells which should be in view of the player's cell.