Entity.add

Add a component

Use this only if you want to generate the component with init values

  1. T add(T t)
  2. T add()
    class Entity
    @safe pure
    T
    add
    ()
    ()

Examples

e.AddComponent!Foo;

Meta