Entity.AddComponent

Undocumented in source. Be warned that the author may not have intended to support it.
  1. auto AddComponent(Args args)
  2. auto AddComponent(Component component)
  3. auto AddComponent(T component)
    class Entity
    AddComponent
    (
    T
    )
    if (
    !is(T == Component)
    )

Meta