Class ROT.FOV.DiscreteShadowcasting
Extends
ROT.FOV.
Discrete shadowcasting algorithm
Defined in: <rot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
ROT.FOV.DiscreteShadowcasting(lightPassesCallback, options)
|
Method Attributes | Method Name and Description |
---|---|
compute(x, y, R, callback)
|
Class Detail
ROT.FOV.DiscreteShadowcasting(lightPassesCallback, options)
- Parameters:
- lightPassesCallback
- options
Method Detail
compute(x, y, R, callback)
- Parameters:
- x
- y
- R
- callback
- See:
- ROT.FOV#compute