Function: addFlipComponent()
addFlipComponent(
world,entity,options?):FlipEcsComponent
Defined in: common/components/flip-component.ts:26
Attaches a FlipEcsComponent to entity.
Parameters
world
The ECS world entity belongs to.
entity
number
The entity to attach the component to.
options?
Partial<FlipEcsComponent> = {}
Options for configuring the flip.
Returns
The attached component, for further tuning or runtime changes.