Class: abstract
FGroup
The base class for all groups of components in Fibbo.
Constructors
new FGroup()
new FGroup(
options
):FGroup
Initialize the group with a list of components. If no components are provided, the group will be empty.
Parameters
• options = ...
The options for the group.
• options.components: FComponent
[]
The components to add to the group.
Returns
Defined in
Methods
addComponent()
addComponent(
component
):void
Add a component to the group.
Parameters
• component: FComponent
Returns
void
Defined in
frame()
frame(
delta
):void
Update all components in the group.
Parameters
• delta: number
The time since the last frame.
Returns
void
Defined in
removeComponent()
removeComponent(
component
):void
Remove a component from the group.
Parameters
• component: FComponent
Returns
void
Defined in
Properties
components
components:
FComponent
[] =[]
The components in the group.