mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
Roguelike
hasLineOfSight
Function hasLineOfSight
hasLineOfSight
(
level
:
Level
,
from
:
Step
,
to
:
Step
)
:
boolean
true when nothing between
from
and
to
(both cells themselves excepted) blocks sight
Parameters
level
:
Level
from
:
Step
to
:
Step
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...
true when nothing between
fromandto(both cells themselves excepted) blocks sight