Class Component

A pure data container that is contained by a single entity.

Methods

Component:new (populate) Creates a new ComponentClass.
Component:hasName () Returns true if the Component has a name.
Component:getName () Returns the name of the Component.


Methods

Component:new (populate)
Creates a new ComponentClass.

Parameters:

  • populate function Function that populates a Component with values

Returns:

    Component A new ComponentClass
Component:hasName ()
Returns true if the Component has a name.

Returns:

    boolean
Component:getName ()
Returns the name of the Component.

Returns:

    string
generated by LDoc 1.4.6 Last updated 2023-02-26 15:29:07