Added hasComponent(int compID) to class Entity