pub fn add_component<T: SupportedValue>(
    entity: EntityId,
    component: Component<T>,
    value: T
)
Expand description

Adds the component component for entity with value. Will replace an existing component if present.