class SightLightPass: DisplayPass

A display pass that modifies the colour of every cell/actor based on the perspective of a player actor.

__new(self: SightLightPass, lightSystem: LightSystem)
lightSystem: LightSystem

Handles lighting calculations for the level. LightSystem:update must be called every frame.

setPlayer(self: SightLightPass, player: Actor)
player: Actor

Entities in the game, including the player, enemies, and items. Actors are composed of Components that define their state and behavior. For example, an actor may have a Sight component that determines their field of vision, explored tiles, and other related aspects.