new CompositeComponent()
Extends
Members
-
entity
-
The target entity.
- Inherited From:
-
onUpdate
-
If provided, this method will be called every frame, allowing updating the entity.
- Inherited From:
- Overrides:
Methods
-
addComponent()
-
Adds a
Component
to the composite. Usually called in the constructor of the subclass. -
onAdded()
-
Called when this component is added to an Entity.
- Inherited From:
- Overrides:
-
onRemoved()
-
Called when this component is removed from an Entity.
- Inherited From:
- Overrides:
-
removeComponent()
-
Removes a
Component
to the composite.