has<T extends Component> method
If entity has a component of type T
Implementation
bool has<T extends Component>() {
return components.value.containsKey(T);
}
If entity has a component of type T
bool has<T extends Component>() {
return components.value.containsKey(T);
}