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.
 

Method Detail

isBlockingLOS

boolean isBlockingLOS(int posX,
                      int posY)
Check weather a given location blocks the line of sight or not.

Parameters:
posX - X coordinate
posY - Y coordinate
Returns:
true if blocking, false otherwise