getComponentsFor

abstract fun getComponentsFor(entity: Entity): Array<Component>

Gets a list of all the components entity has, as well as relations in the form of RelationComponent.