jukkae / rascal

A roguelike.
Other
1 stars 0 forks source link

Independent enemy vision #117

Closed jukkae closed 6 years ago

jukkae commented 6 years ago

Currently, enemies share player fov calculation for attacking. Implement fov for enemies as well.

jukkae commented 6 years ago

Actually, enemies don't need a full fov implementation at this point. It's enough to check if there is a line of sight between them and the player. Time for Bresenham probably, then.