// NewFOV returns new ready to use field of view with a given range of valid
// positions.
NewFOV returns new ready to use field of view with a given range of valid
positions.
// NewFOV returns new ready to use field of view with a given range of valid // positions .
func NewFOV(rg gruid.Range) *FOV {
	fov := &FOV{}
	fov.Rg = rg
	max := fov.Rg.Size()
	fov.Capacity = max.X * max.Y
	return fov
}
func NewFOV ( rg gruid . Range ) * FOV { fov := & FOV { } fov . Rg = rg max := fov . Rg . Size ( ) fov . Capacity = max . X * max . Y return fov }
NewFOV returns new ready to use field of view with a given range of valid
positions.
NewFOV returns new ready to use field of view with a given range of valid positions .