FOV

model.managers.movements.FOV
object FOV

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
FOV.type

Members list

Extensions

Extensions

extension (from: Vector2D)
def canSee(obstacles: Seq[Collidable])(point: Vector2D): Boolean

Value parameters

obstacles

a sequence of obstacles which can hide the point

point

the position which we intend to look at

Attributes

Returns

true if the point can be seen from the from position