Component

Bluespess. Component

Should never be instanced directly.

Constructor

(abstract) new Component(atom, template)

Source:
Parameters:
Name Type Description
atom Bluespess.Atom
template template

Classes

Networked

Members

(abstract, static) depends :Array.<string>

Source:
Indicates that this component requires the given components to also be loaded. This does not fix the order, use Bluespess.Component#loadBefore and Bluespess.Component.#loadAfter for that.
Type:
  • Array.<string>

(abstract, static) loadAfter :Array.<string>

Source:
Indicates that the given components should always be loaded after this one.
Type:
  • Array.<string>

(abstract, static) loadBefore :Array.<string>

Source:
Indicates that the given components should always be loaded before this one.
Type:
  • Array.<string>

(abstract, static) template :template

Source:
Set this to specify default values on your component
Type:
  • template

a

Source:

atom :Bluespess.Atom

Source:
The atom this component belongs to
Type:

Methods

(abstract) destroy()

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