C# Class Dwarrowdelf.RayCastBresenhams

Show file Open project: tomba/dwarrowdelf

Public Methods

Method Description
Calculate ( IntVector2 viewerLocation, int visionRange, Grid2D visibilityMap, IntSize2 mapSize, bool>.Func blockerDelegate ) : void

Private Methods

Method Description
FindLos ( IntVector2 src, IntVector2 dst, bool>.Func blockerDelegate ) : bool

Method Details

Calculate() public static method

public static Calculate ( IntVector2 viewerLocation, int visionRange, Grid2D visibilityMap, IntSize2 mapSize, bool>.Func blockerDelegate ) : void
viewerLocation IntVector2
visionRange int
visibilityMap Grid2D
mapSize IntSize2
blockerDelegate bool>.Func
return void