dao::world::Sight

struct

The result of a line-of-sight test: whether the view is clear, and where it is blocked if not.

Converts to bool, true when the view is clear.

Declared in dao/World.h.

Functions

operator bool()

operator bool() const

Fields

Field Type  
blockedAt std::optional<Vector> where the view is blocked, if it is
clear bool = false