rlgamekit.fieldofview
Interface FovSource
public interface FovSource
Linking interface between the FOV calculation and the data (map)
source. Contains only one method to check weather a given location
blocks the line of sight or not.
|
Method Summary |
boolean |
isBlockingLOS(int posX,
int posY)
Check weather a given location
blocks the line of sight or not. |
isBlockingLOS
boolean isBlockingLOS(int posX,
int posY)
- Check weather a given location
blocks the line of sight or not.
- Parameters:
posX - X coordinateposY - Y coordinate
- Returns:
- true if blocking, false otherwise