// Visible returns true if the given position is visible according to the
// last SCCVisionMap call.
Visible returns true if the given position is visible according to the
last SCCVisionMap call.
// Visible returns true if the given position is visible according to the // last SCCVisionMap call .
func (fov *FOV) Visible(p gruid.Point) bool {
	if !p.In(fov.Rg) || fov.ShadowCasting == nil {
		return false
	}
	return fov.ShadowCasting[fov.idx(p)]
}
func ( fov * FOV ) Visible ( p gruid . Point ) bool { if ! p . In ( fov . Rg ) || fov . ShadowCasting == nil { return false } return fov . ShadowCasting [ fov . idx ( p ) ] }
Visible returns true if the given position is visible according to the
last SCCVisionMap call.
Visible returns true if the given position is visible according to the last SCCVisionMap call .