Entity.containsAll

Contains components

It's recomended to always use this function, as it will do the 'hard work' for you

  1. bool containsAll(string[] ids)
  2. bool containsAll()
    class Entity
    @safe pure const
    bool
    containsAll
    (
    C...
    )
    ()

Return Value

Type: bool

True if the entity contains all of the components False otherwise

Examples

e.containsAll!(Foo, Goo);

Meta