Class: Archetype

Archetype


new Archetype(Array)

Archetype

Parameters:
Name Type Description
Array array

of components

Author:
  • episanchez

Methods


addComponent(component)

Add a component to the archetype

Parameters:
Name Type Description
component Object

-


getComponents()

Get the components' array

Returns:

array of components

Type
array