LightSource

LightSource

For things that emit light

Constructor

new LightSource()

Source:

Extends

Members

a

Source:
Inherited From:

atom :Bluespess.Atom

Source:
Inherited From:
The atom this component belongs to
Type:

color :string

Source:
Default Value:
  • "#FFFFFF"
CSS color of the light
Type:
  • string

enabled :boolean

Source:
Default Value:
  • false
Type:
  • boolean

radius :number

Source:
Default Value:
  • 2
How many tiles away this emits light
Type:
  • number

Methods

(abstract) destroy()

Source:
Inherited From:
Called when the atom this component belongs to is destroyed.